ext2-atomic-setbit.h 364 B

1234567891011
  1. #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
  2. #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
  3. /*
  4. * Atomic bitops based version of ext2 atomic bitops
  5. */
  6. #define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr)
  7. #define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr)
  8. #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */