summaryrefslogtreecommitdiff
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-19 21:25:50 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-19 21:25:50 -0800
commitb1422401f2491ecb7579c8d241e1f924b35e6b67 (patch)
treec9aad2fc7607b3b9c8b03e36ea8c0b2bdd4baafd /include/asm-sparc64
parent6ca94a13392363d75126029ca7d936825bb16f4e (diff)
downloadlinux-3.10-b1422401f2491ecb7579c8d241e1f924b35e6b67.tar.gz
linux-3.10-b1422401f2491ecb7579c8d241e1f924b35e6b67.tar.bz2
linux-3.10-b1422401f2491ecb7579c8d241e1f924b35e6b67.zip
[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 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/syscalls.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-sparc64/syscalls.h b/include/asm-sparc64/syscalls.h
new file mode 100644
index 00000000000..45a43f637a1
--- /dev/null
+++ b/include/asm-sparc64/syscalls.h
@@ -0,0 +1,13 @@
+#ifndef _SPARC64_SYSCALLS_H
+#define _SPARC64_SYSCALLS_H
+
+struct pt_regs;
+
+extern asmlinkage long sparc_do_fork(unsigned long clone_flags,
+ unsigned long stack_start,
+ struct pt_regs *regs,
+ unsigned long stack_size);
+
+extern asmlinkage int sparc_execve(struct pt_regs *regs);
+
+#endif /* _SPARC64_SYSCALLS_H */