162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __TOOLS_LINUX_ASM_ATOMIC_H 362306a36Sopenharmony_ci#define __TOOLS_LINUX_ASM_ATOMIC_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#if defined(__i386__) || defined(__x86_64__) 662306a36Sopenharmony_ci#include "../../arch/x86/include/asm/atomic.h" 762306a36Sopenharmony_ci#else 862306a36Sopenharmony_ci#include <asm-generic/atomic-gcc.h> 962306a36Sopenharmony_ci#endif 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#endif /* __TOOLS_LINUX_ASM_ATOMIC_H */ 12