diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-02-17 22:47:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 23:34:55 +0100 |
commit | 52644c9ab3faefbfbf07a19c24c4e74e33cfd796 (patch) | |
tree | 655044797aac54d771597565ca424acad1e2dec5 /samples/seccomp | |
parent | scripts/gdb: disable pagination while printing from breakpoint handler (diff) | |
download | linux-52644c9ab3faefbfbf07a19c24c4e74e33cfd796.tar.xz linux-52644c9ab3faefbfbf07a19c24c4e74e33cfd796.zip |
ipc,sem: 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/seccomp')
0 files changed, 0 insertions, 0 deletions