sh: Fix sigmask trampling in signal delivery.
authorRyusuke Sakato <sakato@hsdv.com>
Fri, 23 Feb 2007 04:22:56 +0000 (13:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 5 Mar 2007 05:13:25 +0000 (14:13 +0900)
commitc8bfa1fdc84af7b5e3c7f825a9f0bc6e8a19f5d5
tree61a92dd4a63c4081a9b41f5a8509529f089931e8
parent9432f96803139adaff0cd9f4fa38b7fb99cda366
sh: Fix sigmask trampling in signal delivery.

There was a missing return in do_signal() that caused the saved
sigmask to be written back after having successfully delivered
the signal.

Signed-off-by: Ryusuke Sakato <sakato@hsdv.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/signal.c