From: Oleg Nesterov Date: Thu, 25 Aug 2011 16:35:21 +0000 (+0200) Subject: add EXPORT_SYMBOL(set_current_blocked) X-Git-Tag: next-20110829~17^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b7537b09ecdb3c84406b4d0bf212f45095db6c6;p=karo-tx-linux.git add EXPORT_SYMBOL(set_current_blocked) Export set_current_blocked() for modules. We have the code which wrongly plays with ->blocked, and sigprocmask() should be avoided. Reported-by: Stephen Rothwell Signed-off-by: Oleg Nesterov --- diff --git a/kernel/signal.c b/kernel/signal.c index 7a081649529d..3868e6663c8c 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2463,6 +2463,7 @@ void set_current_blocked(const sigset_t *newset) __set_task_blocked(tsk, newset); spin_unlock_irq(&tsk->sighand->siglock); } +EXPORT_SYMBOL(set_current_blocked); /* * This is also useful for kernel threads that want to temporarily