]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/bitops.h
slub: Reduce #ifdef ZONE_DMA by moving kmalloc_caches_dma near dma logic
[linux-2.6-omap-h63xx.git] / include / asm-sparc / bitops.h
index 329e696e77516c8511ec0a04972aeefafabf16d3..cb3cefab6e098e56dc1c1835fdb2a44212fea376 100644 (file)
 
 #ifdef __KERNEL__
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 extern unsigned long ___set_bit(unsigned long *addr, unsigned long mask);
 extern unsigned long ___clear_bit(unsigned long *addr, unsigned long mask);
 extern unsigned long ___change_bit(unsigned long *addr, unsigned long mask);
@@ -96,6 +100,7 @@ static inline void change_bit(unsigned long nr, volatile unsigned long *addr)
 #include <asm-generic/bitops/fls.h>
 #include <asm-generic/bitops/fls64.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 #include <asm-generic/bitops/find.h>
 #include <asm-generic/bitops/ext2-non-atomic.h>
 #include <asm-generic/bitops/ext2-atomic.h>