commit | e8148f7588064e45080bf1120883380a2efe5c9b | [log] [tgz] |
---|---|---|
author | WANG Cong <wangcong@zeuux.org> | Tue Jan 06 14:42:49 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:29 2009 -0800 |
tree | 3696d738d8e118632c456d77f4a0a4afdcfc98e5 | |
parent | 8cd3ac3aca3f2afe8570708066d64d893da468e8 [diff] |
ipc: clean up ipc/shm.c Use the macro shm_ids(). Remove useless check for a userspace pointer, because copy_to_user() will check it. Some style cleanups. Signed-off-by: WANG Cong <wangcong@zeuux.org> Cc: Nadia Derbey <Nadia.Derbey@bull.net> Cc: Pierre Peiffer <peifferp@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>