dt-bindings: gpio: xilinx: Fix node address in gpio
[platform/kernel/linux-starfive.git] / tools / include / linux / atomic.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __TOOLS_LINUX_ATOMIC_H
3 #define __TOOLS_LINUX_ATOMIC_H
4
5 #include <asm/atomic.h>
6
7 void atomic_long_set(atomic_long_t *v, long i);
8
9 /* atomic_cmpxchg_relaxed */
10 #ifndef atomic_cmpxchg_relaxed
11 #define  atomic_cmpxchg_relaxed         atomic_cmpxchg
12 #define  atomic_cmpxchg_release         atomic_cmpxchg
13 #endif /* atomic_cmpxchg_relaxed */
14
15 #endif /* __TOOLS_LINUX_ATOMIC_H */