diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/entry.h | 5 | ||||
-rw-r--r-- | arch/sparc64/kernel/signal.c | 3 | ||||
-rw-r--r-- | arch/sparc64/kernel/systbls.h | 8 |
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); | |||
18 | extern asmlinkage void sparc_breakpoint(struct pt_regs *regs); | 18 | extern asmlinkage void sparc_breakpoint(struct pt_regs *regs); |
19 | extern void timer_interrupt(int irq, struct pt_regs *regs); | 19 | extern void timer_interrupt(int irq, struct pt_regs *regs); |
20 | 20 | ||
21 | extern void do_notify_resume(struct pt_regs *regs, | ||
22 | unsigned long orig_i0, | ||
23 | int restart_syscall, | ||
24 | unsigned long thread_info_flags); | ||
25 | |||
21 | extern asmlinkage void syscall_trace(struct pt_regs *regs, | 26 | extern 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 | ||
8 | extern asmlinkage unsigned long sys_getpagesize(void); | 10 | extern asmlinkage unsigned long sys_getpagesize(void); |
9 | extern asmlinkage unsigned long sparc_brk(unsigned long brk); | 11 | extern asmlinkage unsigned long sparc_brk(unsigned long brk); |
@@ -42,4 +44,10 @@ extern asmlinkage long sys_rt_sigaction(int sig, | |||
42 | extern asmlinkage long sys_perfctr(int opcode, unsigned long arg0, | 44 | extern 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 | ||
47 | extern asmlinkage void sparc64_set_context(struct pt_regs *regs); | ||
48 | extern asmlinkage void sparc64_get_context(struct pt_regs *regs); | ||
49 | extern asmlinkage long sys_sigpause(unsigned int set); | ||
50 | extern asmlinkage long sys_sigsuspend(old_sigset_t set); | ||
51 | extern void do_rt_sigreturn(struct pt_regs *regs); | ||
52 | |||
45 | #endif /* _SYSTBLS_H */ | 53 | #endif /* _SYSTBLS_H */ |