aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-03-26 04:52:18 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-26 04:52:18 -0400
commit062ea6d36c5841286f57b360534eb33139e506f3 (patch)
treea3ddae33aee8bc17bd886c731f67cdd1b6da98f4 /arch/sparc64/kernel
parent207ddd0a3a42e6273e3a26447b52e9d6d90d579d (diff)
[SPARC64]: Fix sparse warnings in arch/sparc64/kernel/signal.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/entry.h5
-rw-r--r--arch/sparc64/kernel/signal.c3
-rw-r--r--arch/sparc64/kernel/systbls.h8
3 files changed, 16 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/entry.h b/arch/sparc64/kernel/entry.h
index 129a2f133d67..4a91e9c6d31b 100644
--- a/arch/sparc64/kernel/entry.h
+++ b/arch/sparc64/kernel/entry.h
@@ -18,6 +18,11 @@ extern asmlinkage void update_perfctrs(void);
18extern asmlinkage void sparc_breakpoint(struct pt_regs *regs); 18extern asmlinkage void sparc_breakpoint(struct pt_regs *regs);
19extern void timer_interrupt(int irq, struct pt_regs *regs); 19extern void timer_interrupt(int irq, struct pt_regs *regs);
20 20
21extern void do_notify_resume(struct pt_regs *regs,
22 unsigned long orig_i0,
23 int restart_syscall,
24 unsigned long thread_info_flags);
25
21extern asmlinkage void syscall_trace(struct pt_regs *regs, 26extern asmlinkage void syscall_trace(struct pt_regs *regs,
22 int syscall_exit_p); 27 int syscall_exit_p);
23 28
diff --git a/arch/sparc64/kernel/signal.c b/arch/sparc64/kernel/signal.c
index fb13775b3682..94a9d64208ee 100644
--- a/arch/sparc64/kernel/signal.c
+++ b/arch/sparc64/kernel/signal.c
@@ -32,6 +32,9 @@
32#include <asm/siginfo.h> 32#include <asm/siginfo.h>
33#include <asm/visasm.h> 33#include <asm/visasm.h>
34 34
35#include "entry.h"
36#include "systbls.h"
37
35#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) 38#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
36 39
37/* {set, get}context() needed for 64-bit SparcLinux userland. */ 40/* {set, get}context() needed for 64-bit SparcLinux userland. */
diff --git a/arch/sparc64/kernel/systbls.h b/arch/sparc64/kernel/systbls.h
index 3416182d1555..8a0d20a35d0c 100644
--- a/arch/sparc64/kernel/systbls.h
+++ b/arch/sparc64/kernel/systbls.h
@@ -3,7 +3,9 @@
3 3
4#include <linux/kernel.h> 4#include <linux/kernel.h>
5#include <linux/types.h> 5#include <linux/types.h>
6#include <linux/utsname.h>
6#include <asm/utrap.h> 7#include <asm/utrap.h>
8#include <asm/signal.h>
7 9
8extern asmlinkage unsigned long sys_getpagesize(void); 10extern asmlinkage unsigned long sys_getpagesize(void);
9extern asmlinkage unsigned long sparc_brk(unsigned long brk); 11extern asmlinkage unsigned long sparc_brk(unsigned long brk);
@@ -42,4 +44,10 @@ extern asmlinkage long sys_rt_sigaction(int sig,
42extern asmlinkage long sys_perfctr(int opcode, unsigned long arg0, 44extern asmlinkage long sys_perfctr(int opcode, unsigned long arg0,
43 unsigned long arg1, unsigned long arg2); 45 unsigned long arg1, unsigned long arg2);
44 46
47extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
48extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
49extern asmlinkage long sys_sigpause(unsigned int set);
50extern asmlinkage long sys_sigsuspend(old_sigset_t set);
51extern void do_rt_sigreturn(struct pt_regs *regs);
52
45#endif /* _SYSTBLS_H */ 53#endif /* _SYSTBLS_H */