]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/sem.h: make sysv_sem empty if SYSVIPC is disabled
authorManfred Spraul <manfred@colorfullife.com>
Wed, 2 Nov 2011 20:38:56 +0000 (13:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:01 +0000 (16:07 -0700)
commitf5731520d3059851eb9a37bf6727457aaadddb56
tree5ed76fc1727cbce2b64776afd5c682414f0c1726
parentf342633391a7af8edb75267538a90c59e7196c8a
include/linux/sem.h: make sysv_sem empty if SYSVIPC is disabled

For the sysvsem undo, each task struct contains a sysv_sem structure with
a pointer to the undo information.

This pointer is only necessary if sysvipc is enabled - thus the pointer
can be made conditional on CONFIG_SYSVIPC.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sem.h