Oleg Nesterov be0e6f290f signal: turn dequeue_signal_lock() into kernel_dequeue_signal()
1. Rename dequeue_signal_lock() to kernel_dequeue_signal(). This
   matches another "for kthreads only" kernel_sigaction() helper.

2. Remove the "tsk" and "mask" arguments, they are always current
   and current->blocked. And it is simply wrong if tsk != current.

3. We could also remove the 3rd "siginfo_t *info" arg but it looks
   potentially useful. However we can simplify the callers if we
   change kernel_dequeue_signal() to accept info => NULL.

4. Remove _irqsave, it is never called from atomic context.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-11-06 17:50:42 -08:00
..
2015-11-04 21:50:37 -08:00
2015-11-04 21:50:37 -08:00
2015-11-05 23:38:43 -08:00
2015-11-05 23:38:43 -08:00
2015-11-02 00:54:37 +01:00
2015-11-04 22:15:15 -08:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-10-29 09:02:16 +09:00
2015-11-04 22:15:15 -08:00
2015-11-05 13:15:12 -08:00
2015-11-05 13:15:12 -08:00
2015-11-04 21:50:37 -08:00
2015-10-22 15:45:18 +02:00
2015-11-04 14:47:13 -08:00
2015-11-04 21:26:27 -08:00
2015-11-06 10:23:50 -08:00
2015-11-06 10:23:50 -08:00
2015-11-05 13:15:12 -08:00
2015-11-04 22:15:15 -08:00
2015-10-21 17:02:13 +02:00
2015-11-05 13:15:12 -08:00
2015-11-04 21:50:37 -08:00
2015-10-27 20:17:03 -07:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00