summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/signal32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-17 01:26:00 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-19 06:01:32 +0400
commitabaff455f750594984030ec878537b7c1e39ffc6 (patch)
treea13c6083cea6551ecbc333be11c0c480cfb180ea /arch/sparc/kernel/signal32.c
parented8eb7551006dd02c14438eb374b302a39b3e92e (diff)
downloadlinux-abaff455f750594984030ec878537b7c1e39ffc6.tar.xz
sparc64: fix sparse "Should it be static?" warnings in signal32.c
Fix following warnings: signal32.c:140:6: warning: symbol 'do_sigreturn32' was not declared. Should it be static? signal32.c:230:17: warning: symbol 'do_rt_sigreturn32' was not declared. Should it be static? signal32.c:729:6: warning: symbol 'do_signal32' was not declared. Should it be static? signal32.c:773:16: warning: symbol 'do_sys32_sigstack' was not declared. Should it be static? Add proper prototypes and drop local prototype Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/signal32.c')
-rw-r--r--arch/sparc/kernel/signal32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/signal32.c b/arch/sparc/kernel/signal32.c
index ee789d2ef05d..ab33c99c8bc4 100644
--- a/arch/sparc/kernel/signal32.c
+++ b/arch/sparc/kernel/signal32.c
@@ -31,6 +31,7 @@
#include <asm/switch_to.h>
#include "sigutil.h"
+#include "kernel.h"
/* This magic should be in g_upper[0] for all upper parts
* to be valid.