Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
0003 #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
0004 
0005 /*
0006  * Atomic bitops based version of ext2 atomic bitops
0007  */
0008 
0009 #define ext2_set_bit_atomic(l, nr, addr)    test_and_set_bit_le(nr, addr)
0010 #define ext2_clear_bit_atomic(l, nr, addr)  test_and_clear_bit_le(nr, addr)
0011 
0012 #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */