]> git.baikalelectronics.ru Git - kernel.git/commit
ipc,msg: use current->state helpers
authorDavidlohr Bueso <davidlohr@hp.com>
Fri, 6 Jun 2014 21:37:44 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:14 +0000 (16:08 -0700)
commit345ff9e61d2b92a5c1892cb3cc5ce03536a6461a
tree4bb98f5f7fa79500ab7620b10fe555a1e8433ceb
parentf8269cceefc03e7c877599e883ebcb1a189902d0
ipc,msg: use current->state helpers

Call __set_current_state() instead of assigning the new state directly.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Manfred Spraul <manfred@colorfullif.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/msg.c