]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-cris/bitops.h
pata_sil680: kill bogus reset code (take 2)
[linux-2.6-omap-h63xx.git] / include / asm-cris / bitops.h
index a569065113d916671f7562c946a8c7690de60fd7..e2f49c27ed297ab40dc7187de1639809fa1c9640 100644 (file)
 /* Currently this is unsuitable for consumption outside the kernel.  */
 #ifdef __KERNEL__ 
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <asm/arch/bitops.h>
 #include <asm/system.h>
 #include <asm/atomic.h>
@@ -154,6 +158,7 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr)
 #include <asm-generic/bitops/fls64.h>
 #include <asm-generic/bitops/hweight.h>
 #include <asm-generic/bitops/find.h>
+#include <asm-generic/bitops/lock.h>
 
 #include <asm-generic/bitops/ext2-non-atomic.h>