diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-02-18 00:45:41 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-18 01:34:51 +0300 |
commit | 1df0135588ed4e6048c1608ec046e9a38ea91e8e (patch) | |
tree | e04e2f8d3fcf080c2ec6d6a1430f2045f5df869d /kernel/kexec.c | |
parent | 1cca3385e6d556cd90cdc148c2f26af807fa3600 (diff) | |
download | linux-1df0135588ed4e6048c1608ec046e9a38ea91e8e.tar.xz |
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>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions