]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc64/bitops.h
[SPARC]: Merge asm-sparc{,64}/current.h
[linux-2.6-omap-h63xx.git] / include / asm-sparc64 / bitops.h
index 71944b0f09de7e1cf52a5b08eeb0fe16bd9605e4..982ce8992b91fcae6a2d9e790235b718d7cfa1b1 100644 (file)
@@ -7,7 +7,10 @@
 #ifndef _SPARC64_BITOPS_H
 #define _SPARC64_BITOPS_H
 
-#include <linux/config.h>
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <linux/compiler.h>
 #include <asm/byteorder.h>
 
@@ -82,6 +85,7 @@ static inline unsigned int hweight8(unsigned int w)
 #include <asm-generic/bitops/hweight.h>
 
 #endif
+#include <asm-generic/bitops/lock.h>
 #endif /* __KERNEL__ */
 
 #include <asm-generic/bitops/find.h>