commit | 1df0135588ed4e6048c1608ec046e9a38ea91e8e | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@stgolabs.net> | Tue Feb 17 13:45:41 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Feb 17 14:34:51 2015 -0800 |
tree | e04e2f8d3fcf080c2ec6d6a1430f2045f5df869d | |
parent | 1cca3385e6d556cd90cdc148c2f26af807fa3600 [diff] |
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>