diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-10-09 07:46:25 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-13 13:21:25 +0200 |
commit | c9386bfd37d37f29588de9ea9add455510049c33 (patch) | |
tree | 16c912dee5c41e6dfc327deebda6219dded9889e /arch/powerpc/kernel/process.c | |
parent | powerpc/process: Fix sparse address space warnings (diff) | |
download | linux-c9386bfd37d37f29588de9ea9add455510049c33.tar.xz linux-c9386bfd37d37f29588de9ea9add455510049c33.zip |
powerpc/process: Add missing include of stacktrace.h
As spotted by sparse:
arch/powerpc/kernel/process.c:1302:6: warning: symbol 'show_user_instructions' was not declared. Should it be static?
Fixes: 88b0fe1757359 ("powerpc: Add show_user_instructions()")
Reviewed-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index c7af42052041..3396c419abf2 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -65,6 +65,7 @@ #include <asm/livepatch.h> #include <asm/cpu_has_feature.h> #include <asm/asm-prototypes.h> +#include <asm/stacktrace.h> #include <linux/kprobes.h> #include <linux/kdebug.h> |