diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:27:55 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:15:55 -0500 |
commit | 39e08a9bae71a16ab0549b87b4e7207ae0d550ad (patch) | |
tree | d2c377d70d06376fec1431d9f3eced0c694694d2 /arch/frv | |
parent | fe76141671c3025cd0da7cfafb6d8945bbe0735b (diff) |
frv: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/Kconfig | 1 | ||||
-rw-r--r-- | arch/frv/kernel/signal.c | 10 |
2 files changed, 1 insertions, 10 deletions
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index 8aaf1a174270..683ab5c90233 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -13,6 +13,7 @@ config FRV | |||
13 | select GENERIC_CPU_DEVICES | 13 | select GENERIC_CPU_DEVICES |
14 | select ARCH_WANT_IPC_PARSE_VERSION | 14 | select ARCH_WANT_IPC_PARSE_VERSION |
15 | select GENERIC_SIGALTSTACK | 15 | select GENERIC_SIGALTSTACK |
16 | select OLD_SIGSUSPEND3 | ||
16 | 17 | ||
17 | config ZONE_DMA | 18 | config ZONE_DMA |
18 | bool | 19 | bool |
diff --git a/arch/frv/kernel/signal.c b/arch/frv/kernel/signal.c index 445156d2d30b..771756b7a7e8 100644 --- a/arch/frv/kernel/signal.c +++ b/arch/frv/kernel/signal.c | |||
@@ -32,16 +32,6 @@ struct fdpic_func_descriptor { | |||
32 | unsigned long GOT; | 32 | unsigned long GOT; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | /* | ||
36 | * Atomically swap in the new signal mask, and wait for a signal. | ||
37 | */ | ||
38 | asmlinkage int sys_sigsuspend(int history0, int history1, old_sigset_t mask) | ||
39 | { | ||
40 | sigset_t blocked; | ||
41 | siginitset(&blocked, mask); | ||
42 | return sigsuspend(&blocked); | ||
43 | } | ||
44 | |||
45 | asmlinkage int sys_sigaction(int sig, | 35 | asmlinkage int sys_sigaction(int sig, |
46 | const struct old_sigaction __user *act, | 36 | const struct old_sigaction __user *act, |
47 | struct old_sigaction __user *oact) | 37 | struct old_sigaction __user *oact) |