1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ 3*4882a593Smuzhiyun #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun /* 6*4882a593Smuzhiyun * Atomic bitops based version of ext2 atomic bitops 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr) 10*4882a593Smuzhiyun #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr) 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */ 13