sh: switch to generic old sigaction()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
|
||||
struct pt_regs;
|
||||
|
||||
asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act,
|
||||
struct old_sigaction __user *oact);
|
||||
asmlinkage int sys_sigreturn(unsigned long r4, unsigned long r5,
|
||||
unsigned long r6, unsigned long r7,
|
||||
struct pt_regs __regs);
|
||||
|
@@ -5,11 +5,13 @@
|
||||
|
||||
#include <asm-generic/signal.h>
|
||||
|
||||
#ifndef __KERNEL__
|
||||
struct old_sigaction {
|
||||
__sighandler_t sa_handler;
|
||||
old_sigset_t sa_mask;
|
||||
unsigned long sa_flags;
|
||||
void (*sa_restorer)(void);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_SH_SIGNAL_H */
|
||||
|
Reference in New Issue
Block a user