]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ipc.h
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[linux-2.6-omap-h63xx.git] / include / linux / ipc.h
index d9e2b3f36c35906ee1606a8a6aebce565c30214e..636094c29b167e185168d10882fd2c497903d166 100644 (file)
@@ -2,7 +2,6 @@
 #define _LINUX_IPC_H
 
 #include <linux/types.h>
-#include <linux/kref.h>
 
 #define IPC_PRIVATE ((__kernel_key_t) 0)  
 
@@ -52,6 +51,8 @@ struct ipc_perm
 
 #ifdef __KERNEL__
 
+#include <linux/kref.h>
+
 #define IPCMNI 32768  /* <= MAX_INT limit for ipc arrays (including sysctl changes) */
 
 /* used by in-kernel data structures */