]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
add EXPORT_SYMBOL(set_current_blocked)
authorOleg Nesterov <oleg@redhat.com>
Thu, 25 Aug 2011 16:35:21 +0000 (18:35 +0200)
committerOleg Nesterov <oleg@redhat.com>
Fri, 26 Aug 2011 17:14:40 +0000 (19:14 +0200)
Export set_current_blocked() for modules. We have the code which
wrongly plays with ->blocked, and sigprocmask() should be avoided.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
kernel/signal.c

index 7a081649529def9a786558707b31f6b416c555ff..3868e6663c8c4a47a6bd878f79fb74056e6034d2 100644 (file)
@@ -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