]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/sem.c: change perform_atomic_semop parameters
authorManfred Spraul <manfred@colorfullife.com>
Thu, 22 May 2014 00:44:19 +0000 (10:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:44:19 +0000 (10:44 +1000)
commit0e31a50bf0347550105cd82a21888f1b44fb93a2
tree6efcdb847de768e8e1dd0c90b432b3572b31c51d
parent031beeca15e0cb9bfcb3d76cab2665bd079e411d
ipc/sem.c: change perform_atomic_semop parameters

Right now, perform_atomic_semop gets the content of sem_queue as
individual fields.  Changes that, instead pass a pointer to sem_queue.

This is a preparation for the next patch: it uses sem_queue to store the
reason why a task must sleep.

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>
ipc/sem.c