^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __TOOLS_LINUX_ATOMIC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __TOOLS_LINUX_ATOMIC_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <asm/atomic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /* atomic_cmpxchg_relaxed */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef atomic_cmpxchg_relaxed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define atomic_cmpxchg_relaxed atomic_cmpxchg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define atomic_cmpxchg_release atomic_cmpxchg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #endif /* atomic_cmpxchg_relaxed */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #endif /* __TOOLS_LINUX_ATOMIC_H */