IPC/semaphores: code factorisation
authorPierre Peiffer <pierre.peiffer@bull.net>
Tue, 29 Apr 2008 08:00:46 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:13 +0000 (08:06 -0700)
commit6ff3797218ef41c248c83184101ce1aedc227333
tree0957a7f808b2a4f6383dab6408a2873f9a87f495
parent6546bc4279241e8fa432de1bb63a4f6f791fd669
IPC/semaphores: code factorisation

Trivial patch which adds some small locking functions and makes use of them to
factorize some part of the code and to make it cleaner.

Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/sem.c