/* * urcu/uatomic.h * * Copyright (c) 2020 Michael Jeanson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef _URCU_UATOMIC_H #define _URCU_UATOMIC_H #include #if defined(URCU_ARCH_X86) #include #elif defined(URCU_ARCH_PPC) #include #elif defined(URCU_ARCH_S390) #include #elif defined(URCU_ARCH_SPARC64) #include #elif defined(URCU_ARCH_ALPHA) #include #elif defined(URCU_ARCH_IA64) #include #elif defined(URCU_ARCH_ARM) #include #elif defined(URCU_ARCH_AARCH64) #include #elif defined(URCU_ARCH_MIPS) #include #elif defined(URCU_ARCH_NIOS2) #include #elif defined(URCU_ARCH_TILE) #include #elif defined(URCU_ARCH_HPPA) #include #elif defined(URCU_ARCH_M68K) #include #elif defined(URCU_ARCH_RISCV) #include #else #error "Cannot build: unrecognized architecture, see ." #endif #endif /* _URCU_UATOMIC_H */