]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/bitops.h
V4L/DVB (6733): DVB: Compile 3000MC-specific DIB code only for CONFIG_DVB_DIB3000MC
[linux-2.6-omap-h63xx.git] / include / asm-arm / bitops.h
index b41831b6432fb44f7967720b31e892e58005ed82..47a6b086eee27fd3ef5dc9a9a04a09db8c5488ee 100644 (file)
 
 #ifdef __KERNEL__
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <linux/compiler.h>
 #include <asm/system.h>
 
@@ -286,6 +290,7 @@ static inline int constant_fls(int x)
 
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 
 /*
  * Ext2 is defined to use little-endian byte ordering.