]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPC: get rid of the use *_setbuf structure.
authorPierre Peiffer <pierre.peiffer@bull.net>
Tue, 29 Apr 2008 08:00:50 +0000 (01:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:13 +0000 (08:06 -0700)
commit016d7132f246a05e6e34ccba157fa278a96c45ae
treea7003a30b2c2e4a399f6394a860b10fbd1afa4da
parent21a4826a7c49bddebbe8d83d232f6416f1697ff0
IPC: get rid of the use *_setbuf structure.

All IPCs make use of an intermetiate *_setbuf structure to handle the IPC_SET
command.  This is not really needed and, moreover, it complicates a little bit
the code.

This patch gets rid of the use of it and uses directly the semid64_ds/
msgid64_ds/shmid64_ds structure.

In addition of removing one struture declaration, it also simplifies and
improves a little bit the common 64-bits path.

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/msg.c
ipc/sem.c
ipc/shm.c