blob: b041cbf0d899c638e81d4628c46ccc9932dd5f9e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Akinobu Mita148817b2011-07-26 16:09:04 -07002#ifndef _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
3#define _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_
4
5/*
6 * Atomic bitops based version of ext2 atomic bitops
7 */
8
9#define ext2_set_bit_atomic(l, nr, addr) test_and_set_bit_le(nr, addr)
10#define ext2_clear_bit_atomic(l, nr, addr) test_and_clear_bit_le(nr, addr)
11
12#endif /* _ASM_GENERIC_BITOPS_EXT2_ATOMIC_SETBIT_H_ */