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

index 8aaf1a174270998480cfc4182a686dbcc7d3b7da..683ab5c90233ec6240cf34e6a9b9d775c2b9ec6e 100644 (file)
@@ -13,6 +13,7 @@ config FRV
        select GENERIC_CPU_DEVICES
        select ARCH_WANT_IPC_PARSE_VERSION
        select GENERIC_SIGALTSTACK
+       select OLD_SIGSUSPEND3
 
 config ZONE_DMA
        bool
index 445156d2d30b15ec6a048a025a9800be57d4019e..771756b7a7e8bdfb2e05616647468da6bd038b03 100644 (file)
@@ -32,16 +32,6 @@ struct fdpic_func_descriptor {
        unsigned long   GOT;
 };
 
-/*
- * Atomically swap in the new signal mask, and wait for a signal.
- */
-asmlinkage int sys_sigsuspend(int history0, int history1, 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)