Files
android_kernel_xiaomi_sm8450/ipc
Manfred Spraul 1994862dc9 ipc/sem.c: bugfix for semctl(,,GETZCNT)
GETZCNT is supposed to return the number of threads that wait until a
semaphore value becomes 0.

The current implementation overlooks complex operations that contain
both wait-for-zero operation and operations that alter at least one
semaphore.

The patch fixes that.  It's intentionally copy&paste, this will be
cleaned up in the next patch.

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>
2014-06-06 16:08:15 -07:00
..
2014-06-06 16:08:14 -07:00
2014-06-06 16:08:14 -07:00
2014-04-07 16:36:11 -07:00
2010-03-12 15:52:32 -08:00
2014-04-07 16:36:11 -07:00
2014-06-06 16:08:15 -07:00
2013-09-11 15:59:44 -07:00
2014-06-06 16:08:15 -07:00
2014-06-06 16:08:14 -07:00
2014-06-06 16:08:14 -07:00