1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _TOOLS_LINUX_ASM_GENERIC_BITOPS_ATOMIC_H_
3 #define _TOOLS_LINUX_ASM_GENERIC_BITOPS_ATOMIC_H_
6 #include <asm/bitsperlong.h>
9 * Just alias the test versions, all of the compiler built-in atomics "fetch",
10 * and optimizing compile-time constants on x86 isn't worth the complexity.
12 #define set_bit test_and_set_bit
13 #define clear_bit test_and_clear_bit
15 #endif /* _TOOLS_LINUX_ASM_GENERIC_BITOPS_ATOMIC_H_ */