arm: switch to generic old sigsuspend
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 25 Dec 2012 21:29:48 +0000 (16:29 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:15:47 +0000 (18:15 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/Kconfig
arch/arm/kernel/signal.c

index caf0ba73ea38e1f317c6ca9168c8e2015865c715..614c49716ae75b20c2fd6debacc51b902320f92f 100644 (file)
@@ -57,6 +57,7 @@ config ARM
        select MODULES_USE_ELF_REL
        select CLONE_BACKWARDS
        select GENERIC_SIGALTSTACK
+       select OLD_SIGSUSPEND3
        help
          The ARM series is a line of low-power-consumption RISC chip designs
          licensed by ARM Ltd and targeted at embedded applications and
index f1f6d214050f6ce2acfe4db97e074340fd74dc14..61b2cfcef3f1615e008c7b49997d285113bbe2d0 100644 (file)
@@ -45,16 +45,6 @@ const unsigned long sigreturn_codes[7] = {
        MOV_R7_NR_RT_SIGRETURN, SWI_SYS_RT_SIGRETURN, SWI_THUMB_RT_SIGRETURN,
 };
 
-/*
- * atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage int sys_sigsuspend(int restart, unsigned long oldmask, old_sigset_t mask)
-{
-       sigset_t blocked;
-       siginitset(&blocked, mask);
-       return sigsuspend(&blocked);
-}
-
 asmlinkage int 
 sys_sigaction(int sig, const struct old_sigaction __user *act,
              struct old_sigaction __user *oact)
This page took 0.027706 seconds and 5 git commands to generate.