summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/ptrace_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 21:39:37 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-29 01:12:26 -0400
commitc8c8782d8993a7a340515384c00a8ab4b6bd880a (patch)
treefa1801fd8b86f4d761da0498fd9c154991127fef /arch/sparc/kernel/ptrace_32.c
parentc0b0ba848697b12b7e7372230e4eadc9f366832f (diff)
downloadlinux-c8c8782d8993a7a340515384c00a8ab4b6bd880a.tar.bz2
sparc32: fix sparse warning in ptrace_32.c
Fix following warning: ptrace_32.c:444:16: warning: symbol 'syscall_trace' was not declared. Should it be static? Add declaration in kernel.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ptrace_32.c')
-rw-r--r--arch/sparc/kernel/ptrace_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ptrace_32.c b/arch/sparc/kernel/ptrace_32.c
index 896ba7c5cd8e..a331fdc11a2c 100644
--- a/arch/sparc/kernel/ptrace_32.c
+++ b/arch/sparc/kernel/ptrace_32.c
@@ -26,6 +26,8 @@
#include <asm/uaccess.h>
#include <asm/cacheflush.h>
+#include "kernel.h"
+
/* #define ALLOW_INIT_TRACING */
/*