aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/bitops/le.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/bitops/le.h')
-rw-r--r--include/asm-generic/bitops/le.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/asm-generic/bitops/le.h b/include/asm-generic/bitops/le.h
index 9085429ff3ca..394ac3ebcbde 100644
--- a/include/asm-generic/bitops/le.h
+++ b/include/asm-generic/bitops/le.h
@@ -8,44 +8,44 @@
8 8
9#define BITOP_LE_SWIZZLE 0 9#define BITOP_LE_SWIZZLE 0
10 10
11#define generic_find_next_zero_le_bit(addr, size, offset) \ 11#define find_next_zero_bit_le(addr, size, offset) \
12 find_next_zero_bit(addr, size, offset) 12 find_next_zero_bit(addr, size, offset)
13#define generic_find_next_le_bit(addr, size, offset) \ 13#define find_next_bit_le(addr, size, offset) \
14 find_next_bit(addr, size, offset) 14 find_next_bit(addr, size, offset)
15#define generic_find_first_zero_le_bit(addr, size) \ 15#define find_first_zero_bit_le(addr, size) \
16 find_first_zero_bit(addr, size) 16 find_first_zero_bit(addr, size)
17 17
18#elif defined(__BIG_ENDIAN) 18#elif defined(__BIG_ENDIAN)
19 19
20#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) 20#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
21 21
22extern unsigned long generic_find_next_zero_le_bit(const unsigned long *addr, 22extern unsigned long find_next_zero_bit_le(const unsigned long *addr,
23 unsigned long size, unsigned long offset); 23 unsigned long size, unsigned long offset);
24extern unsigned long generic_find_next_le_bit(const unsigned long *addr, 24extern unsigned long find_next_bit_le(const unsigned long *addr,
25 unsigned long size, unsigned long offset); 25 unsigned long size, unsigned long offset);
26 26
27#define generic_find_first_zero_le_bit(addr, size) \ 27#define find_first_zero_bit_le(addr, size) \
28 generic_find_next_zero_le_bit((addr), (size), 0) 28 find_next_zero_bit_le((addr), (size), 0)
29 29
30#else 30#else
31#error "Please fix <asm/byteorder.h>" 31#error "Please fix <asm/byteorder.h>"
32#endif 32#endif
33 33
34#define generic_test_le_bit(nr, addr) \ 34#define test_bit_le(nr, addr) \
35 test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 35 test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
36#define generic___set_le_bit(nr, addr) \ 36#define __set_bit_le(nr, addr) \
37 __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 37 __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
38#define generic___clear_le_bit(nr, addr) \ 38#define __clear_bit_le(nr, addr) \
39 __clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 39 __clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
40 40
41#define generic_test_and_set_le_bit(nr, addr) \ 41#define test_and_set_bit_le(nr, addr) \
42 test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 42 test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
43#define generic_test_and_clear_le_bit(nr, addr) \ 43#define test_and_clear_bit_le(nr, addr) \
44 test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 44 test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
45 45
46#define generic___test_and_set_le_bit(nr, addr) \ 46#define __test_and_set_bit_le(nr, addr) \
47 __test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 47 __test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
48#define generic___test_and_clear_le_bit(nr, addr) \ 48#define __test_and_clear_bit_le(nr, addr) \
49 __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) 49 __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
50 50
51#endif /* _ASM_GENERIC_BITOPS_LE_H_ */ 51#endif /* _ASM_GENERIC_BITOPS_LE_H_ */