repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
14 lines
363 B
C
14 lines
363 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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 */
|