summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-20 08:25:50 +0300
committerDavid S. Miller <davem@davemloft.net>2008-02-20 08:25:50 +0300
commitb1422401f2491ecb7579c8d241e1f924b35e6b67 (patch)
treec9aad2fc7607b3b9c8b03e36ea8c0b2bdd4baafd /arch
parent6ca94a13392363d75126029ca7d936825bb16f4e (diff)
downloadlinux-b1422401f2491ecb7579c8d241e1f924b35e6b67.tar.xz
[SPARC64]: More sparse warning fixes in process.c
arch/sparc64/kernel/process.c:504:17: warning: symbol 'sparc_do_fork' was not declared. Should it be static? arch/sparc64/kernel/process.c:655:5: warning: symbol 'dump_fpu' was not declared. Should it be static? arch/sparc64/kernel/process.c:708:16: warning: symbol 'sparc_execve' was not declared. Should it be static? Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c
index 6c00f1e5c92e..2aafce7dfc0e 100644
--- a/arch/sparc64/kernel/process.c
+++ b/arch/sparc64/kernel/process.c
@@ -30,6 +30,7 @@
#include <linux/tick.h>
#include <linux/init.h>
#include <linux/cpu.h>
+#include <linux/elfcore.h>
#include <asm/oplib.h>
#include <asm/uaccess.h>
@@ -48,6 +49,7 @@
#include <asm/hypervisor.h>
#include <asm/sstate.h>
#include <asm/reboot.h>
+#include <asm/syscalls.h>
/* #define VERBOSE_SHOWREGS */