diff options
Diffstat (limited to 'tools/include/linux')
| -rw-r--r-- | tools/include/linux/atomic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/include/linux/atomic.h b/tools/include/linux/atomic.h index 4e3d3d18ebab..9f21fc2b092b 100644 --- a/tools/include/linux/atomic.h +++ b/tools/include/linux/atomic.h | |||
| @@ -3,4 +3,10 @@ | |||
| 3 | 3 | ||
| 4 | #include <asm/atomic.h> | 4 | #include <asm/atomic.h> |
| 5 | 5 | ||
| 6 | /* atomic_cmpxchg_relaxed */ | ||
| 7 | #ifndef atomic_cmpxchg_relaxed | ||
| 8 | #define atomic_cmpxchg_relaxed atomic_cmpxchg | ||
| 9 | #define atomic_cmpxchg_release atomic_cmpxchg | ||
| 10 | #endif /* atomic_cmpxchg_relaxed */ | ||
| 11 | |||
| 6 | #endif /* __TOOLS_LINUX_ATOMIC_H */ | 12 | #endif /* __TOOLS_LINUX_ATOMIC_H */ |
