diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-12 20:28:09 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-13 17:40:50 -0500 |
commit | 205d84aaea380bbd1cc1079d44086cd50c2c2dad (patch) | |
tree | 2842bfc750eec17d14da47014ff3dc6d45d3d4bd /arch/mips | |
parent | dd02f06aa96ab4590da12704366450a2d4753d3c (diff) |
[MIPS] signal: Move {restore,setup}_sigcontext prototypes to their user
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/signal-common.h | 6 | ||||
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/kernel/signal-common.h b/arch/mips/kernel/signal-common.h index 9a8abd67ec5c..d9a832f67e8a 100644 --- a/arch/mips/kernel/signal-common.h +++ b/arch/mips/kernel/signal-common.h | |||
@@ -46,12 +46,6 @@ struct sigframe { | |||
46 | #endif /* !ICACHE_REFILLS_WORKAROUND_WAR */ | 46 | #endif /* !ICACHE_REFILLS_WORKAROUND_WAR */ |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * handle hardware context | ||
50 | */ | ||
51 | extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); | ||
52 | extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); | ||
53 | |||
54 | /* | ||
55 | * Determine which stack to use.. | 49 | * Determine which stack to use.. |
56 | */ | 50 | */ |
57 | extern void __user *get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, | 51 | extern void __user *get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, |
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index 57456e6a0c62..b17ef04691e3 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c | |||
@@ -49,6 +49,10 @@ | |||
49 | 49 | ||
50 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | 50 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) |
51 | 51 | ||
52 | extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); | ||
53 | extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); | ||
54 | |||
55 | |||
52 | /* IRIX compatible stack_t */ | 56 | /* IRIX compatible stack_t */ |
53 | typedef struct sigaltstack32 { | 57 | typedef struct sigaltstack32 { |
54 | s32 ss_sp; | 58 | s32 ss_sp; |