]> err.no Git - linux-2.6/blobdiff - include/asm-m68knommu/bitops.h
[ALSA] include/sound/: Spelling fixes
[linux-2.6] / include / asm-m68knommu / bitops.h
index b8b2770d6870965de40edcf112b405aadd2f881e..f43afe1fc3b33940dc1c46178045830f4bf01b44 100644 (file)
 
 #ifdef __KERNEL__
 
+#ifndef _LINUX_BITOPS_H
+#error only <linux/bitops.h> can be included directly
+#endif
+
 #include <asm-generic/bitops/ffs.h>
 #include <asm-generic/bitops/__ffs.h>
 #include <asm-generic/bitops/sched.h>
@@ -290,6 +294,8 @@ found_middle:
        return result + ffz(__swab32(tmp));
 }
 
+#define ext2_find_next_bit(addr, size, off) \
+       generic_find_next_le_bit((unsigned long *)(addr), (size), (off))
 #include <asm-generic/bitops/minix.h>
 
 #endif /* __KERNEL__ */