| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __TOOLS_LINUX_ASM_ATOMIC_H | ||||
| 3 | #define __TOOLS_LINUX_ASM_ATOMIC_H | ||||
| 4 | |||||
| 5 | #if defined(__i386__) || defined(__x86_64__) | ||||
| 6 | #include "../../arch/x86/include/asm/atomic.h" | ||||
| 7 | #else | ||||
| 8 | #include <asm-generic/atomic-gcc.h> | ||||
| 9 | #endif | ||||
| 10 | |||||
| 11 | #endif /* __TOOLS_LINUX_ASM_ATOMIC_H */ | ||||