Linux 4.8.3
[linux/fpc-iii.git] / include / asm-generic / bitops / ext2-atomic-setbit.h
blob5a0997857b34892fdfbbd9f1c57eb31aff58ae0e
1 #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
2 #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
4 /*
5 * Atomic bitops based version of ext2 atomic bitops
6 */
8 #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr)
9 #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr)
11 #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */