--- zzzz-none-000/linux-3.10.107/arch/powerpc/kernel/stacktrace.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/kernel/stacktrace.c 2021-02-04 17:41:59.000000000 +0000 @@ -50,7 +50,7 @@ { unsigned long sp; - asm("mr %0,1" : "=r" (sp)); + sp = current_stack_pointer(); save_context_stack(trace, sp, current, 1); }