]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/include/linux/atomic.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / include / linux / atomic.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
da6d8567
ACM
2#ifndef __TOOLS_LINUX_ATOMIC_H
3#define __TOOLS_LINUX_ATOMIC_H
4
5#include <asm/atomic.h>
6
2bcdeadb
ACM
7/* atomic_cmpxchg_relaxed */
8#ifndef atomic_cmpxchg_relaxed
9#define atomic_cmpxchg_relaxed atomic_cmpxchg
10#define atomic_cmpxchg_release atomic_cmpxchg
11#endif /* atomic_cmpxchg_relaxed */
12
da6d8567 13#endif /* __TOOLS_LINUX_ATOMIC_H */