summaryrefslogtreecommitdiff
path: root/include/linux/ipc.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-07-15 23:39:57 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:42 -0700
commit0a3021f4e249fbdb5f30d614707b5e02022e4c9b (patch)
treec01b80fa03dbb4a853b46f182864384736a54088 /include/linux/ipc.h
parent9aacd599342fdfc1fb9422f37e900609b7a46249 (diff)
Remove unnecessary includes of spinlock.h under include/linux
Remove the obviously unnecessary includes of <linux/spinlock.h> under the include/linux/ directory, and fix the couple errors that are introduced as a result of that. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ipc.h')
-rw-r--r--include/linux/ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipc.h b/include/linux/ipc.h
index 1980867a64a4..7c8c6d8d090c 100644
--- a/include/linux/ipc.h
+++ b/include/linux/ipc.h
@@ -52,6 +52,7 @@ struct ipc_perm
#ifdef __KERNEL__
#include <linux/kref.h>
+#include <linux/spinlock.h>
#define IPCMNI 32768 /* <= MAX_INT limit for ipc arrays (including sysctl changes) */