]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-v850/bitops.h
MN10300: Kill linux/a.out.h inclusions
[linux-2.6-omap-h63xx.git] / include / asm-v850 / bitops.h
index 1fa99baf4e25bbaf2f82daaf1960537bb59bfde8..f82f5b4a56e0d0526d3d2e53023e90ab65aeaab0 100644 (file)
@@ -13,6 +13,9 @@
 #ifndef __V850_BITOPS_H__
 #define __V850_BITOPS_H__
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
 
 #include <linux/compiler.h>    /* unlikely  */
 #include <asm/byteorder.h>     /* swab32 */
@@ -145,6 +148,7 @@ static inline int __test_bit (int nr, const void *addr)
 #include <asm-generic/bitops/find.h>
 #include <asm-generic/bitops/sched.h>
 #include <asm-generic/bitops/hweight.h>
+#include <asm-generic/bitops/lock.h>
 
 #include <asm-generic/bitops/ext2-non-atomic.h>
 #define ext2_set_bit_atomic(l,n,a)      test_and_set_bit(n,a)