Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ext2-atomic-setbit.h
Go to the documentation of this file.
1 #ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
2 #define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
3 
4 /*
5  * Atomic bitops based version of ext2 atomic bitops
6  */
7 
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)
10 
11 #endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */