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/s390/include/asm | |
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/s390/include/asm')
-rw-r--r-- | arch/s390/include/asm/bitops.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/s390/include/asm/bitops.h b/arch/s390/include/asm/bitops.h index f48f9644e4b5..2dd32bba47ee 100644 --- a/arch/s390/include/asm/bitops.h +++ b/arch/s390/include/asm/bitops.h | |||
@@ -857,17 +857,10 @@ static inline int find_next_bit_le(void *vaddr, unsigned long size, | |||
857 | return offset + find_first_bit_le(p, size); | 857 | return offset + find_first_bit_le(p, size); |
858 | } | 858 | } |
859 | 859 | ||
860 | #define ext2_set_bit __test_and_set_bit_le | ||
861 | #define ext2_set_bit_atomic(lock, nr, addr) \ | 860 | #define ext2_set_bit_atomic(lock, nr, addr) \ |
862 | test_and_set_bit_le(nr, addr) | 861 | test_and_set_bit_le(nr, addr) |
863 | #define ext2_clear_bit __test_and_clear_bit_le | ||
864 | #define ext2_clear_bit_atomic(lock, nr, addr) \ | 862 | #define ext2_clear_bit_atomic(lock, nr, addr) \ |
865 | test_and_clear_bit_le(nr, addr) | 863 | test_and_clear_bit_le(nr, addr) |
866 | #define ext2_test_bit test_bit_le | ||
867 | #define ext2_find_first_zero_bit find_first_zero_bit_le | ||
868 | #define ext2_find_next_zero_bit find_next_zero_bit_le | ||
869 | #define ext2_find_first_bit find_first_bit_le | ||
870 | #define ext2_find_next_bit find_next_bit_le | ||
871 | 864 | ||
872 | #include <asm-generic/bitops/minix.h> | 865 | #include <asm-generic/bitops/minix.h> |
873 | 866 | ||