summaryrefslogtreecommitdiff
path: root/tools/include/linux/atomic.h
blob: 9f21fc2b092b834f3badabe0233ed4e8b509444b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __TOOLS_LINUX_ATOMIC_H
#define __TOOLS_LINUX_ATOMIC_H

#include <asm/atomic.h>

/* atomic_cmpxchg_relaxed */
#ifndef atomic_cmpxchg_relaxed
#define  atomic_cmpxchg_relaxed		atomic_cmpxchg
#define  atomic_cmpxchg_release         atomic_cmpxchg
#endif /* atomic_cmpxchg_relaxed */

#endif /* __TOOLS_LINUX_ATOMIC_H */