diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-25 16:09:20 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-03 18:16:26 -0500 |
commit | 15ce1f7154c80693cec4f8a5309e8c8a06fb2541 (patch) | |
tree | 16d9bf114517d15fbb5854bc26e0bca502139aa4 /arch/x86/kernel/signal.c | |
parent | 7b83d1a297ac1afda2bb9a9979ca73173148623f (diff) |
x86,um: switch to generic old sigsuspend()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r-- | arch/x86/kernel/signal.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index 38ba7e56e161..057712901509 100644 --- a/arch/x86/kernel/signal.c +++ b/arch/x86/kernel/signal.c | |||
@@ -536,17 +536,6 @@ static int x32_setup_rt_frame(int sig, struct k_sigaction *ka, | |||
536 | } | 536 | } |
537 | 537 | ||
538 | #ifdef CONFIG_X86_32 | 538 | #ifdef CONFIG_X86_32 |
539 | /* | ||
540 | * Atomically swap in the new signal mask, and wait for a signal. | ||
541 | */ | ||
542 | asmlinkage int | ||
543 | sys_sigsuspend(int history0, int history1, old_sigset_t mask) | ||
544 | { | ||
545 | sigset_t blocked; | ||
546 | siginitset(&blocked, mask); | ||
547 | return sigsuspend(&blocked); | ||
548 | } | ||
549 | |||
550 | asmlinkage int | 539 | asmlinkage int |
551 | sys_sigaction(int sig, const struct old_sigaction __user *act, | 540 | sys_sigaction(int sig, const struct old_sigaction __user *act, |
552 | struct old_sigaction __user *oact) | 541 | struct old_sigaction __user *oact) |