[PATCH] add EXPORT_SYMBOL(set_current_blocked)

From: Oleg Nesterov
Date: Thu Aug 25 2011 - 12:38:29 EST


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@xxxxxxxxxxxxxxxx>
Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
---

kernel/signal.c | 1 +
1 file changed, 1 insertion(+)

--- 3.1/kernel/signal.c~export_set_current_blocked 2011-08-25 18:23:42.000000000 +0200
+++ 3.1/kernel/signal.c 2011-08-25 18:24:02.000000000 +0200
@@ -2463,6 +2463,7 @@ void set_current_blocked(const sigset_t
__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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/