aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 856a5479d49d..3fe08eaa5dea 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -2434,8 +2434,7 @@ out:
2434 2434
2435#ifdef __ARCH_WANT_SYS_SIGPENDING 2435#ifdef __ARCH_WANT_SYS_SIGPENDING
2436 2436
2437asmlinkage long 2437SYSCALL_DEFINE1(sigpending, old_sigset_t __user *, set)
2438sys_sigpending(old_sigset_t __user *set)
2439{ 2438{
2440 return do_sigpending(set, sizeof(*set)); 2439 return do_sigpending(set, sizeof(*set));
2441} 2440}
@@ -2446,8 +2445,8 @@ sys_sigpending(old_sigset_t __user *set)
2446/* Some platforms have their own version with special arguments others 2445/* Some platforms have their own version with special arguments others
2447 support only sys_rt_sigprocmask. */ 2446 support only sys_rt_sigprocmask. */
2448 2447
2449asmlinkage long 2448SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, set,
2450sys_sigprocmask(int how, old_sigset_t __user *set, old_sigset_t __user *oset) 2449 old_sigset_t __user *, oset)
2451{ 2450{
2452 int error; 2451 int error;
2453 old_sigset_t old_set, new_set; 2452 old_sigset_t old_set, new_set;