]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-xtensa/bitops.h
hwmon: (adt7473) Fix voltage conversion routines
[linux-2.6-omap-h63xx.git] / include / asm-xtensa / bitops.h
index 1c1e0d933eea8311db44907231d94a62b025c334..23261e8f2e5ac4c15cf36a23921f3cd9cb654b5f 100644 (file)
 
 #ifdef __KERNEL__
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <asm/processor.h>
 #include <asm/byteorder.h>
 #include <asm/system.h>
@@ -108,6 +112,7 @@ static inline int fls (unsigned int x)
 #endif
 
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/minix.h>