diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:30:23 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:15:46 -0500 |
commit | 302627e9f96e09269ccbfaf1951f46d29753856f (patch) | |
tree | d8a722ee59622fd4353ad9dfc7585722f0177c68 /arch/alpha | |
parent | 691f6903dc389606b28b2200ecc0bcf1f53e548c (diff) |
alpha: switch to generic old sigsuspend
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/Kconfig | 1 | ||||
-rw-r--r-- | arch/alpha/kernel/signal.c | 10 |
2 files changed, 1 insertions, 10 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 8696c03a9d73..15740cf29bd4 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -24,6 +24,7 @@ config ALPHA | |||
24 | select MODULES_USE_ELF_RELA | 24 | select MODULES_USE_ELF_RELA |
25 | select GENERIC_SIGALTSTACK | 25 | select GENERIC_SIGALTSTACK |
26 | select ODD_RT_SIGACTION | 26 | select ODD_RT_SIGACTION |
27 | select OLD_SIGSUSPEND | ||
27 | help | 28 | help |
28 | The Alpha is a 64-bit general-purpose processor designed and | 29 | The Alpha is a 64-bit general-purpose processor designed and |
29 | marketed by the Digital Equipment Corporation of blessed memory, | 30 | marketed by the Digital Equipment Corporation of blessed memory, |
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c index 02d02c047f17..b5f385055244 100644 --- a/arch/alpha/kernel/signal.c +++ b/arch/alpha/kernel/signal.c | |||
@@ -113,16 +113,6 @@ SYSCALL_DEFINE5(rt_sigaction, int, sig, const struct sigaction __user *, act, | |||
113 | } | 113 | } |
114 | 114 | ||
115 | /* | 115 | /* |
116 | * Atomically swap in the new signal mask, and wait for a signal. | ||
117 | */ | ||
118 | SYSCALL_DEFINE1(sigsuspend, old_sigset_t, mask) | ||
119 | { | ||
120 | sigset_t blocked; | ||
121 | siginitset(&blocked, mask); | ||
122 | return sigsuspend(&blocked); | ||
123 | } | ||
124 | |||
125 | /* | ||
126 | * Do a signal return; undo the signal stack. | 116 | * Do a signal return; undo the signal stack. |
127 | */ | 117 | */ |
128 | 118 | ||