]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix powerpc build issue in 4.19
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 14:47:18 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 14:47:18 +0000 (16:47 +0200)
queue-4.19/powerpc-stacktrace-fix-spurious-stale-traces-in-raise_backtrace_ipi.patch

index bc5439b7123b0b4e1e6d9b8091768d178a2b0efa..19c3eb4c5b14e7bc2361e221f354adfc2b6b1203 100644 (file)
@@ -49,14 +49,21 @@ Reported-by: Nathan Lynch <nathanl@linux.ibm.com>
 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
 Link: https://lore.kernel.org/r/20210625140408.3351173-1-mpe@ellerman.id.au
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
 ---
- arch/powerpc/kernel/stacktrace.c |   2++++++++++++++++++++------
- 1 file changed, 20 insertions(+), 6 deletions(-)
+ arch/powerpc/kernel/stacktrace.c |   27 +++++++++++++++++++++------
+ 1 file changed, 21 insertions(+), 6 deletions(-)
 
 --- a/arch/powerpc/kernel/stacktrace.c
 +++ b/arch/powerpc/kernel/stacktrace.c
-@@ -204,17 +204,31 @@ static void handle_backtrace_ipi(struct
+@@ -19,6 +19,7 @@
+ #include <asm/ptrace.h>
+ #include <asm/processor.h>
+ #include <linux/ftrace.h>
++#include <linux/delay.h>
+ #include <asm/kprobes.h>
+ #include <asm/paca.h>
+@@ -204,17 +205,31 @@ static void handle_backtrace_ipi(struct
  
  static void raise_backtrace_ipi(cpumask_t *mask)
  {