diff options
Diffstat (limited to 'arch/um/sys-i386/signal.c')
-rw-r--r-- | arch/um/sys-i386/signal.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/um/sys-i386/signal.c b/arch/um/sys-i386/signal.c index 89a46626bfd8..4403b48ab044 100644 --- a/arch/um/sys-i386/signal.c +++ b/arch/um/sys-i386/signal.c | |||
@@ -458,11 +458,7 @@ long sys_sigreturn(struct pt_regs regs) | |||
458 | goto segfault; | 458 | goto segfault; |
459 | 459 | ||
460 | sigdelsetmask(&set, ~_BLOCKABLE); | 460 | sigdelsetmask(&set, ~_BLOCKABLE); |
461 | 461 | set_current_blocked(&set); | |
462 | spin_lock_irq(¤t->sighand->siglock); | ||
463 | current->blocked = set; | ||
464 | recalc_sigpending(); | ||
465 | spin_unlock_irq(¤t->sighand->siglock); | ||
466 | 462 | ||
467 | if (copy_sc_from_user(¤t->thread.regs, sc)) | 463 | if (copy_sc_from_user(¤t->thread.regs, sc)) |
468 | goto segfault; | 464 | goto segfault; |
@@ -489,11 +485,7 @@ long sys_rt_sigreturn(struct pt_regs regs) | |||
489 | goto segfault; | 485 | goto segfault; |
490 | 486 | ||
491 | sigdelsetmask(&set, ~_BLOCKABLE); | 487 | sigdelsetmask(&set, ~_BLOCKABLE); |
492 | 488 | set_current_blocked(&set); | |
493 | spin_lock_irq(¤t->sighand->siglock); | ||
494 | current->blocked = set; | ||
495 | recalc_sigpending(); | ||
496 | spin_unlock_irq(¤t->sighand->siglock); | ||
497 | 489 | ||
498 | if (copy_sc_from_user(¤t->thread.regs, &uc->uc_mcontext)) | 490 | if (copy_sc_from_user(¤t->thread.regs, &uc->uc_mcontext)) |
499 | goto segfault; | 491 | goto segfault; |