]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/bitops.h
Relax check on adding children of suspended devices
[linux-2.6-omap-h63xx.git] / include / asm-m68k / bitops.h
index da151f70cdc6389a245590245863029129e12075..83d1f286230b6da68492a6b64fedaaaad8e5746e 100644 (file)
@@ -8,6 +8,10 @@
  * for more details.
  */
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <linux/compiler.h>
 
 /*
@@ -406,6 +410,8 @@ static inline int ext2_find_next_zero_bit(const void *vaddr, unsigned size,
        res = ext2_find_first_zero_bit (p, size - 32 * (p - addr));
        return (p - addr) * 32 + res;
 }
+#define ext2_find_next_bit(addr, size, off) \
+       generic_find_next_le_bit((unsigned long *)(addr), (size), (off))
 
 #endif /* __KERNEL__ */