diff options
Diffstat (limited to '')
-rw-r--r-- | tools/include/asm/atomic.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/include/asm/atomic.h b/tools/include/asm/atomic.h new file mode 100644 index 0000000000..8c9bfffd41 --- /dev/null +++ b/tools/include/asm/atomic.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TOOLS_LINUX_ASM_ATOMIC_H +#define __TOOLS_LINUX_ASM_ATOMIC_H + +#if defined(__i386__) || defined(__x86_64__) +#include "../../arch/x86/include/asm/atomic.h" +#else +#include <asm-generic/atomic-gcc.h> +#endif + +#endif /* __TOOLS_LINUX_ASM_ATOMIC_H */ |