ext2-atomic-setbit.h 403 B

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