[MIPS] signal: Move {restore,setup}_sigcontext prototypes to their user
authorRalf Baechle <ralf@linux-mips.org>
Tue, 13 Feb 2007 01:28:09 +0000 (01:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 13 Feb 2007 22:40:50 +0000 (22:40 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/signal-common.h
arch/mips/kernel/signal_n32.c

index 9a8abd6..d9a832f 100644 (file)
@@ -45,12 +45,6 @@ struct sigframe {
 
 #endif /* !ICACHE_REFILLS_WORKAROUND_WAR */
 
-/*
- * handle hardware context
- */
-extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
-extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
-
 /*
  * Determine which stack to use..
  */
index 57456e6..b17ef04 100644 (file)
 
 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
 
+extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
+extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
+
+
 /* IRIX compatible stack_t  */
 typedef struct sigaltstack32 {
        s32 ss_sp;