diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-05-08 03:28:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:07 -0400 |
commit | e63340ae6b6205fef26b40a75673d1c9c0c8bb90 (patch) | |
tree | 8d3212705515edec73c3936bb9e23c71d34a7b41 /ipc | |
parent | 04c9167f91e309c9c4ea982992aa08e83b2eb42e (diff) |
header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed.
Suggested by Al Viro.
Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/sem.c | 1 | ||||
-rw-r--r-- | ipc/util.c | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -75,7 +75,6 @@ | |||
75 | #include <linux/init.h> | 75 | #include <linux/init.h> |
76 | #include <linux/proc_fs.h> | 76 | #include <linux/proc_fs.h> |
77 | #include <linux/time.h> | 77 | #include <linux/time.h> |
78 | #include <linux/smp_lock.h> | ||
79 | #include <linux/security.h> | 78 | #include <linux/security.h> |
80 | #include <linux/syscalls.h> | 79 | #include <linux/syscalls.h> |
81 | #include <linux/audit.h> | 80 | #include <linux/audit.h> |
diff --git a/ipc/util.c b/ipc/util.c index 0ad5b1c3ca01..7536a7292d48 100644 --- a/ipc/util.c +++ b/ipc/util.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/shm.h> | 21 | #include <linux/shm.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/msg.h> | 23 | #include <linux/msg.h> |
24 | #include <linux/smp_lock.h> | ||
25 | #include <linux/vmalloc.h> | 24 | #include <linux/vmalloc.h> |
26 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
27 | #include <linux/capability.h> | 26 | #include <linux/capability.h> |