]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
alpha: switch to generic old sigsuspend
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 25 Dec 2012 21:30:23 +0000 (16:30 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:15:46 +0000 (18:15 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/Kconfig
arch/alpha/kernel/signal.c

index 8696c03a9d73a05166de33b8e057f447053fe9d6..15740cf29bd4d9394e0ca2eebc5c6b4dee605b26 100644 (file)
@@ -24,6 +24,7 @@ config ALPHA
        select MODULES_USE_ELF_RELA
        select GENERIC_SIGALTSTACK
        select ODD_RT_SIGACTION
+       select OLD_SIGSUSPEND
        help
          The Alpha is a 64-bit general-purpose processor designed and
          marketed by the Digital Equipment Corporation of blessed memory,
index 02d02c047f17e13d8c7714e0cd4d328ea2a2ce11..b5f385055244b037b41013a7dd77149e119584a5 100644 (file)
@@ -112,16 +112,6 @@ SYSCALL_DEFINE5(rt_sigaction, int, sig, const struct sigaction __user *, act,
        return ret;
 }
 
-/*
- * Atomically swap in the new signal mask, and wait for a signal.
- */
-SYSCALL_DEFINE1(sigsuspend, old_sigset_t, mask)
-{
-       sigset_t blocked;
-       siginitset(&blocked, mask);
-       return sigsuspend(&blocked);
-}
-
 /*
  * Do a signal return; undo the signal stack.
  */