提交 205d84aa 编写于 作者: R Ralf Baechle

[MIPS] signal: Move {restore,setup}_sigcontext prototypes to their user

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 dd02f06a
...@@ -45,12 +45,6 @@ struct sigframe { ...@@ -45,12 +45,6 @@ struct sigframe {
#endif /* !ICACHE_REFILLS_WORKAROUND_WAR */ #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.. * Determine which stack to use..
*/ */
......
...@@ -49,6 +49,10 @@ ...@@ -49,6 +49,10 @@
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) #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 */ /* IRIX compatible stack_t */
typedef struct sigaltstack32 { typedef struct sigaltstack32 {
s32 ss_sp; s32 ss_sp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册