xref: /openbmc/linux/tools/include/asm/atomic.h (revision 4a075bd4)
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 */
12