OpenRISC: Don't mask signals if we fail to setup signal stack
commite933c70de0e2590d41f5edd3133e7ee12b4e0bc6
authorMatt Fleming <matt.fleming@intel.com>
Tue, 14 Feb 2012 11:40:56 +0000 (14 11:40 +0000)
committerJonas Bonn <jonas@southpole.se>
Fri, 17 Feb 2012 08:55:24 +0000 (17 09:55 +0100)
tree24269d0b02a250e4879be37629405263da5198dc
parentb675eeb743abaa0b99a35c1fd32fea8e13a17d32
OpenRISC: Don't mask signals if we fail to setup signal stack

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>
arch/openrisc/kernel/signal.c