mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
363 B
13 lines
363 B
/* 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 */
|
|
|