diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 19:23:55 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:16 -0500 |
commit | 0679a858c5439bf4bc05fd211d3690f82fefa5b6 (patch) | |
tree | be14ceaf88aeef764efb0521cc31fad9056fb09c /arch/sh/include | |
parent | 881e252d6b37d7526008e3dcd4592823d9273e1f (diff) | |
download | op-kernel-dev-0679a858c5439bf4bc05fd211d3690f82fefa5b6.zip op-kernel-dev-0679a858c5439bf4bc05fd211d3690f82fefa5b6.tar.gz |
sh: switch to generic old sigaction()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/syscalls_32.h | 2 | ||||
-rw-r--r-- | arch/sh/include/uapi/asm/signal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h index dc72388..4f97df8 100644 --- a/arch/sh/include/asm/syscalls_32.h +++ b/arch/sh/include/asm/syscalls_32.h @@ -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); diff --git a/arch/sh/include/uapi/asm/signal.h b/arch/sh/include/uapi/asm/signal.h index 9ac530a..cb96d02 100644 --- a/arch/sh/include/uapi/asm/signal.h +++ b/arch/sh/include/uapi/asm/signal.h @@ -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 */ |