]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
signal: use current->state helpers
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 17 Feb 2015 21:45:41 +0000 (13:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:51 +0000 (14:34 -0800)
commit1df0135588ed4e6048c1608ec046e9a38ea91e8e
treee04e2f8d3fcf080c2ec6d6a1430f2045f5df869d
parent1cca3385e6d556cd90cdc148c2f26af807fa3600
signal: use current->state helpers

Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping
track of who changed the state.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c