// SPDX-FileCopyrightText: 2016 Marek Vasut // // SPDX-License-Identifier: MIT #ifndef _URCU_UATOMIC_ARCH_NIOS2_H #define _URCU_UATOMIC_ARCH_NIOS2_H /* * Atomic exchange operations for the NIOS2 architecture. Let GCC do it. */ #include #include #ifdef __cplusplus extern "C" { #endif /* #define UATOMIC_HAS_ATOMIC_BYTE */ /* #define UATOMIC_HAS_ATOMIC_SHORT */ #define UATOMIC_HAS_ATOMIC_INT /* #define UATOMIC_HAS_ATOMIC_LLONG */ #ifdef __cplusplus } #endif #include #endif /* _URCU_UATOMIC_ARCH_NIOS2_H */