diff options
| -rw-r--r-- | arch/powerpc/kernel/signal_32.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 3747ab0dac3f..c6d0595da6b5 100644 --- a/arch/powerpc/kernel/signal_32.c +++ b/arch/powerpc/kernel/signal_32.c | |||
| @@ -254,11 +254,9 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs); | |||
| 254 | */ | 254 | */ |
| 255 | long sys_sigsuspend(old_sigset_t mask) | 255 | long sys_sigsuspend(old_sigset_t mask) |
| 256 | { | 256 | { |
| 257 | sigset_t saveset; | ||
| 258 | |||
| 259 | mask &= _BLOCKABLE; | 257 | mask &= _BLOCKABLE; |
| 260 | spin_lock_irq(¤t->sighand->siglock); | 258 | spin_lock_irq(¤t->sighand->siglock); |
| 261 | saveset = current->blocked; | 259 | current->saved_sigmask = current->blocked; |
| 262 | siginitset(¤t->blocked, mask); | 260 | siginitset(¤t->blocked, mask); |
| 263 | recalc_sigpending(); | 261 | recalc_sigpending(); |
| 264 | spin_unlock_irq(¤t->sighand->siglock); | 262 | spin_unlock_irq(¤t->sighand->siglock); |
