1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __TOOLS_LINUX_ATOMIC_H 3 #define __TOOLS_LINUX_ATOMIC_H 4 5 #include <asm/atomic.h> 6 7 /* atomic_cmpxchg_relaxed */ 8 #ifndef atomic_cmpxchg_relaxed 9 #define atomic_cmpxchg_relaxed atomic_cmpxchg 10 #define atomic_cmpxchg_release atomic_cmpxchg 11 #endif /* atomic_cmpxchg_relaxed */ 12 13 #endif /* __TOOLS_LINUX_ATOMIC_H */ 14