From: Nicholas Piggin Date: Tue, 9 Jan 2018 16:07:15 +0000 (+1100) Subject: powerpc: fix build errors in stable tree X-Git-Tag: v4.9.83~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e41b3b8972ff3d2a2b6233dbd852241988d1356d;p=platform%2Fkernel%2Flinux-amlogic.git powerpc: fix build errors in stable tree This is just the first chunk of commit 222f20f140623ef6033491d0103ee0875fe87d35 upstream. to fix a build error in the powerpc tree due to other backports happening (and this full patch not being backported). Reported-by: Guenter Roeck Reported-by: Yves-Alexis Perez Cc: Nicholas Piggin Cc: Michael Ellerman Cc: Yves-Alexis Perez Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index c33b69d10919..9121b9a35c8a 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/kernel/entry_64.S @@ -39,6 +39,11 @@ #include #include #include +#ifdef CONFIG_PPC_BOOK3S +#include +#else +#include +#endif /* * System calls.