OpenRISC: Don't mask signals if we fail to setup signal stack
authorMatt Fleming <matt.fleming@intel.com>
Tue, 14 Feb 2012 11:40:56 +0000 (11:40 +0000)
committerJonas Bonn <jonas@southpole.se>
Fri, 17 Feb 2012 08:55:24 +0000 (09:55 +0100)
setup_rt_frame() needs to return an indication of whether it succeeded
or failed in setting up the signal stack frame. If setup_rt_frame()
fails then we must not modify current->blocked.

Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux@lists.openrisc.net
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Jonas Bonn <jonas@southpole.se>

No differences found