sh: switch to generic old sigaction()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-12-25 19:23:55 -05:00
parent 881e252d6b
commit 0679a858c5
5 changed files with 3 additions and 66 deletions

View File

@@ -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);

View File

@@ -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 */