diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2011-03-23 19:42:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 22:46:21 -0400 |
commit | f312eff8164879e04923d41e9dd23e7850937d85 (patch) | |
tree | 9f4f6fd00ebf12afd5b070c44d12b55a29440360 /arch/arm | |
parent | bb5cda3d706f44e5696533c9a7353c458f2871e0 (diff) |
bitops: remove ext2 non-atomic bitops from asm/bitops.h
As the result of conversions, there are no users of ext2 non-atomic bit
operations except for ext2 filesystem itself. Now we can put them into
architecture independent code in ext2 filesystem, and remove from
asm/bitops.h for all architectures.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/bitops.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index 0112005f3e9f..f68f1fb6b38e 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h | |||
@@ -339,18 +339,11 @@ static inline int find_next_bit_le(const void *p, int size, int offset) | |||
339 | 339 | ||
340 | /* | 340 | /* |
341 | * Ext2 is defined to use little-endian byte ordering. | 341 | * Ext2 is defined to use little-endian byte ordering. |
342 | * These do not need to be atomic. | ||
343 | */ | 342 | */ |
344 | #define ext2_set_bit __test_and_set_bit_le | ||
345 | #define ext2_set_bit_atomic(lock, nr, p) \ | 343 | #define ext2_set_bit_atomic(lock, nr, p) \ |
346 | test_and_set_bit_le(nr, p) | 344 | test_and_set_bit_le(nr, p) |
347 | #define ext2_clear_bit __test_and_clear_bit_le | ||
348 | #define ext2_clear_bit_atomic(lock, nr, p) \ | 345 | #define ext2_clear_bit_atomic(lock, nr, p) \ |
349 | test_and_clear_bit_le(nr, p) | 346 | test_and_clear_bit_le(nr, p) |
350 | #define ext2_test_bit test_bit_le | ||
351 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
352 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
353 | #define ext2_find_next_bit find_next_bit_le | ||
354 | 347 | ||
355 | /* | 348 | /* |
356 | * Minix is defined to use little-endian byte ordering. | 349 | * Minix is defined to use little-endian byte ordering. |