b.liu | e958203 | 2025-04-17 19:18:16 +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 */ |