2015-04-07 22:53:41 +08:00
|
|
|
#ifndef __TOOLS_LINUX_ATOMIC_H
|
|
|
|
#define __TOOLS_LINUX_ATOMIC_H
|
|
|
|
|
|
|
|
#include <asm/atomic.h>
|
|
|
|
|
2017-02-23 03:57:53 +08:00
|
|
|
/* atomic_cmpxchg_relaxed */
|
|
|
|
#ifndef atomic_cmpxchg_relaxed
|
|
|
|
#define atomic_cmpxchg_relaxed atomic_cmpxchg
|
|
|
|
#define atomic_cmpxchg_release atomic_cmpxchg
|
|
|
|
#endif /* atomic_cmpxchg_relaxed */
|
|
|
|
|
2015-04-07 22:53:41 +08:00
|
|
|
#endif /* __TOOLS_LINUX_ATOMIC_H */
|