ipc/sem.c: store which operation blocks in perform_atomic_semop()
authorManfred Spraul <manfred@colorfullife.com>
Fri, 6 Jun 2014 21:37:49 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:15 +0000 (16:08 -0700)
commited247b7ca0d20b4528eec362f8435594818d7601
tree1ad0072dbfabf441a1aa84b328229b8f09ea6cae
parentd198cd6d6d02d0a335af2deacb60816ebb4719d1
ipc/sem.c: store which operation blocks in perform_atomic_semop()

Preparation for the next patch:

In the slow-path of perform_atomic_semop(), store a pointer to the
operation that caused the operation to block.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c