From 1ca7f0fad2f318c01ff5e04c1a376184f643b922 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 1 Feb 2017 22:30:01 +0000 Subject: [PATCH] [powerpc*] Fix missing CRC for _mcount --- debian/changelog | 1 + ...powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 84d48e5b8..70a5a296c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ linux (4.10~rc6-1~exp2) UNRELEASED; urgency=medium (might fix FTBFS) * [powerpc*] Fix various build failures: - Revert the initial stack protector support + - Fix missing CRC for _mcount -- Ben Hutchings Wed, 01 Feb 2017 22:13:06 +0000 diff --git a/debian/patches/bugfix/powerpc/powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch b/debian/patches/bugfix/powerpc/powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch index 2fc9ab727..13dd281bb 100644 --- a/debian/patches/bugfix/powerpc/powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch +++ b/debian/patches/bugfix/powerpc/powerpc-fix-missing-crcs-add-yet-more-asm-prototypes.patch @@ -6,6 +6,7 @@ Forwarded: https://lkml.kernel.org/r/20161202023837.GK2697@decadent.org.uk Add declarations for: - __mfdcr, __mtdcr (if CONFIG_PPC_DCR_NATIVE=y; through ) - switch_mmu_context (if CONFIG_PPC_BOOK3S_64=n; through ) +- _mcount (if CONFIG_FUNCTION_TRACER=y; though ) Signed-off-by: Ben Hutchings --- @@ -14,12 +15,13 @@ Signed-off-by: Ben Hutchings --- a/arch/powerpc/include/asm/asm-prototypes.h +++ b/arch/powerpc/include/asm/asm-prototypes.h -@@ -17,6 +17,8 @@ +@@ -17,6 +17,9 @@ #include #include #include +#include +#include ++#include #include