]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
da6d8567 ACM |
2 | #ifndef __TOOLS_LINUX_ATOMIC_H |
3 | #define __TOOLS_LINUX_ATOMIC_H | |
4 | ||
5 | #include <asm/atomic.h> | |
6 | ||
2bcdeadb ACM |
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 | ||
da6d8567 | 13 | #endif /* __TOOLS_LINUX_ATOMIC_H */ |