]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/bitops.h
KVM: remove the usage of the mmap_sem for the protection of the memory slots.
[linux-2.6-omap-h63xx.git] / include / asm-parisc / bitops.h
index 015cb0d379bd991d42c719d32bd2111f9573b63f..f8eebcbad01f81d57e0a222d4573d9044f114e96 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _PARISC_BITOPS_H
 #define _PARISC_BITOPS_H
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <linux/compiler.h>
 #include <asm/types.h>         /* for BITS_PER_LONG/SHIFT_PER_LONG */
 #include <asm/byteorder.h>
@@ -208,6 +212,7 @@ static __inline__ int fls(int x)
 
 #include <asm-generic/bitops/fls64.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 #include <asm-generic/bitops/sched.h>
 
 #endif /* __KERNEL__ */