1 #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_
2 #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_
5 * Spinlock based version of ext2 atomic bitops
8 #define ext2_set_bit_atomic(lock, nr, addr) \
12 ret = __test_and_set_bit_le(nr, addr); \
17 #define ext2_clear_bit_atomic(lock, nr, addr) \
21 ret = __test_and_clear_bit_le(nr, addr); \
26 #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_H_ */