]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c0c063751b1a6ae7ecf0f563efdbd3a3a5b8823
treedaeed09468d467dbddb1be28281f0f7abd6d8160
parent70dc457894b3d8dc33cb884463bba3aeb276d240
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