diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-22 01:16:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-21 23:58:06 -0400 |
commit | 9ef461adf9875a0fcaafe4d152a7557740fa1a25 (patch) | |
tree | 1d07dba7defbf39e67de2d38084b4b9ade9a3d98 /arch/sh/include/asm | |
parent | 9ccc9c75c9117d18a9b1f71a21f0066b1eb9db6f (diff) |
sh: switch to saved_sigmask-based sigsuspend()/rt_sigsuspend()
Complete the move of sh64 to it, trim the crap from prototypes,
tidy up a bit. Infrastructure in do_signal() had already been
there, in signal_64 as well as in signal_32 (where it was already
used).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r-- | arch/sh/include/asm/syscalls_32.h | 4 | ||||
-rw-r--r-- | arch/sh/include/asm/unistd.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/sh/include/asm/syscalls_32.h b/arch/sh/include/asm/syscalls_32.h index ae717e3c26d..6c1fa559753 100644 --- a/arch/sh/include/asm/syscalls_32.h +++ b/arch/sh/include/asm/syscalls_32.h | |||
@@ -23,9 +23,7 @@ asmlinkage int sys_execve(const char __user *ufilename, | |||
23 | const char __user *const __user *uargv, | 23 | const char __user *const __user *uargv, |
24 | const char __user *const __user *uenvp, | 24 | const char __user *const __user *uenvp, |
25 | unsigned long r7, struct pt_regs __regs); | 25 | unsigned long r7, struct pt_regs __regs); |
26 | asmlinkage int sys_sigsuspend(old_sigset_t mask, unsigned long r5, | 26 | asmlinkage int sys_sigsuspend(old_sigset_t mask); |
27 | unsigned long r6, unsigned long r7, | ||
28 | struct pt_regs __regs); | ||
29 | asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act, | 27 | asmlinkage int sys_sigaction(int sig, const struct old_sigaction __user *act, |
30 | struct old_sigaction __user *oact); | 28 | struct old_sigaction __user *oact); |
31 | asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, | 29 | asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, |
diff --git a/arch/sh/include/asm/unistd.h b/arch/sh/include/asm/unistd.h index a42a5610a36..e800a38c9f8 100644 --- a/arch/sh/include/asm/unistd.h +++ b/arch/sh/include/asm/unistd.h | |||
@@ -1,13 +1,11 @@ | |||
1 | #ifdef __KERNEL__ | 1 | #ifdef __KERNEL__ |
2 | # ifdef CONFIG_SUPERH32 | 2 | # ifdef CONFIG_SUPERH32 |
3 | |||
4 | # include "unistd_32.h" | 3 | # include "unistd_32.h" |
5 | # define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
6 | |||
7 | # else | 4 | # else |
8 | # include "unistd_64.h" | 5 | # include "unistd_64.h" |
9 | # endif | 6 | # endif |
10 | 7 | ||
8 | # define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
11 | # define __ARCH_WANT_IPC_PARSE_VERSION | 9 | # define __ARCH_WANT_IPC_PARSE_VERSION |
12 | # define __ARCH_WANT_OLD_READDIR | 10 | # define __ARCH_WANT_OLD_READDIR |
13 | # define __ARCH_WANT_OLD_STAT | 11 | # define __ARCH_WANT_OLD_STAT |