Displaying 1 result from an estimated 1 matches for "find_next_zero_le_bit".
2010 Nov 23
0
[PATCH v3 13/22] ocfs2: use little-endian bitops
...gned long *)(addr))
-#define ocfs2_test_bit ext2_test_bit
-#define ocfs2_find_next_zero_bit ext2_find_next_zero_bit
-#define ocfs2_find_next_bit ext2_find_next_bit
+#define ocfs2_test_bit(nr, addr) \
+ test_le_bit(nr, (unsigned long *)(addr))
+#define ocfs2_find_next_zero_bit(addr, size, off) \
+ find_next_zero_le_bit((unsigned long *)(addr), size, off)
+#define ocfs2_find_next_bit(addr, size, off) \
+ find_next_le_bit((unsigned long *)(addr), size, off)
#endif /* OCFS2_H */
--
1.7.3.2