summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/kernel.h
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 07:12:26 +0200
commitc8c8782d8993a7a340515384c00a8ab4b6bd880a (patch)
treefa1801fd8b86f4d761da0498fd9c154991127fef /arch/sparc/kernel/kernel.h
parentsparc32: fix sparse warnings in smp_32.c (diff)
downloadlinux-c8c8782d8993a7a340515384c00a8ab4b6bd880a.tar.xz
linux-c8c8782d8993a7a340515384c00a8ab4b6bd880a.zip
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/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index 716158a57950..2c312a20e2a5 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -110,6 +110,9 @@ asmlinkage int do_sys_sigstack(struct sigstack __user *ssptr,
struct sigstack __user *ossptr,
unsigned long sp);
+/* ptrace_32.c */
+asmlinkage int syscall_trace(struct pt_regs *regs, int syscall_exit_p);
+
/* windows.c */
void try_to_clear_window_buffer(struct pt_regs *regs, int who);