https://github.com/torvalds/linux
Raw File
Tip revision: 61e6cfa80de5760bbe406f4e815b7739205754d2 authored by Linus Torvalds on 13 October 2013, 22:41:28 UTC
Linux 3.12-rc5
Tip revision: 61e6cfa
ext2-atomic-setbit.h
#ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
#define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_

/*
 * Atomic bitops based version of ext2 atomic bitops
 */

#define ext2_set_bit_atomic(l, nr, addr)	test_and_set_bit_le(nr, addr)
#define ext2_clear_bit_atomic(l, nr, addr)	test_and_clear_bit_le(nr, addr)

#endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */
back to top