]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - tools/include/linux/atomic.h
tools include: Introduce atomic_cmpxchg_{relaxed,release}()
[mirror_ubuntu-artful-kernel.git] / tools / include / linux / atomic.h
CommitLineData
da6d8567
ACM
1#ifndef __TOOLS_LINUX_ATOMIC_H
2#define __TOOLS_LINUX_ATOMIC_H
3
4#include <asm/atomic.h>
5
2bcdeadb
ACM
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
da6d8567 12#endif /* __TOOLS_LINUX_ATOMIC_H */