aarch64: Implement caa_cpu_relax as yield instruction
[userspace-rcu.git] / include / urcu / uatomic.h
... / ...
CommitLineData
1/*
2 * urcu/uatomic.h
3 *
4 * Copyright (c) 2020 Michael Jeanson <michael.jeanson@efficios.com>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef _URCU_UATOMIC_H
22#define _URCU_UATOMIC_H
23
24#include <urcu/arch.h>
25
26#if defined(URCU_ARCH_X86)
27#include <urcu/uatomic/x86.h>
28#elif defined(URCU_ARCH_PPC)
29#include <urcu/uatomic/ppc.h>
30#elif defined(URCU_ARCH_S390)
31#include <urcu/uatomic/s390.h>
32#elif defined(URCU_ARCH_SPARC64)
33#include <urcu/uatomic/sparc64.h>
34#elif defined(URCU_ARCH_ALPHA)
35#include <urcu/uatomic/alpha.h>
36#elif defined(URCU_ARCH_IA64)
37#include <urcu/uatomic/ia64.h>
38#elif defined(URCU_ARCH_ARM)
39#include <urcu/uatomic/arm.h>
40#elif defined(URCU_ARCH_AARCH64)
41#include <urcu/uatomic/aarch64.h>
42#elif defined(URCU_ARCH_MIPS)
43#include <urcu/uatomic/mips.h>
44#elif defined(URCU_ARCH_NIOS2)
45#include <urcu/uatomic/nios2.h>
46#elif defined(URCU_ARCH_TILE)
47#include <urcu/uatomic/tile.h>
48#elif defined(URCU_ARCH_HPPA)
49#include <urcu/uatomic/hppa.h>
50#elif defined(URCU_ARCH_M68K)
51#include <urcu/uatomic/m68k.h>
52#elif defined(URCU_ARCH_RISCV)
53#include <urcu/uatomic/riscv.h>
54#else
55#error "Cannot build: unrecognized architecture, see <urcu/arch.h>."
56#endif
57
58#endif /* _URCU_UATOMIC_H */
This page took 0.022696 seconds and 4 git commands to generate.