ipc/sem.c: change perform_atomic_semop parameters
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)
commitd198cd6d6d02d0a335af2deacb60816ebb4719d1
treedaeed09468d467dbddb1be28281f0f7abd6d8160
parent2f2ed41dcaec34f2d6f224aa84efcc5a9dd8d5c3
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c