From: Nicholas Piggin Date: Tue, 9 Jan 2018 16:07:15 +0000 (+1100) Subject: powerpc/64s: Simple RFI macro conversions X-Git-Tag: archive/raspbian/4.9.82-1+deb9u3+rpi1_jessie~10^2~85 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=be2072f92b3113443e980d765d6f1a01bbe3712c;p=linux-4.9.git powerpc/64s: Simple RFI macro conversions commit 222f20f140623ef6033491d0103ee0875fe87d35 upstream. [just the top part of this commit, to fix a 4.9.y build error - gregkh] This commit does simple conversions of rfi/rfid to the new macros that include the expected destination context. By simple we mean cases where there is a single well known destination context, and it's simply a matter of substituting the instruction for the appropriate macro. Signed-off-by: Nicholas Piggin Signed-off-by: Michael Ellerman Cc: Yves-Alexis Perez Signed-off-by: Greg Kroah-Hartman Gbp-Pq: Topic bugfix/powerpc Gbp-Pq: Name powerpc-64s-simple-rfi-macro-conversions.patch --- 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.