summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-02-17 13:47:55 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 14:34:55 -0800
commit52644c9ab3faefbfbf07a19c24c4e74e33cfd796 (patch)
tree655044797aac54d771597565ca424acad1e2dec5 /samples
parenta9c5bcfa43420365535ef42c1ff1e83aa056f25e (diff)
downloadlinux-52644c9ab3faefbfbf07a19c24c4e74e33cfd796.tar.gz
linux-52644c9ab3faefbfbf07a19c24c4e74e33cfd796.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions