| 1 | // SPDX-FileCopyrightText: 2017 Michael Jeanson <mjeanson@efficios.com> |
| 2 | // |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | |
| 5 | /* |
| 6 | * Atomic exchange operations for the m68k architecture. Let GCC do it. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _URCU_ARCH_UATOMIC_M68K_H |
| 10 | #define _URCU_ARCH_UATOMIC_M68K_H |
| 11 | |
| 12 | #include <urcu/compiler.h> |
| 13 | #include <urcu/system.h> |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | #define UATOMIC_HAS_ATOMIC_BYTE |
| 20 | #define UATOMIC_HAS_ATOMIC_SHORT |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #include <urcu/uatomic/generic.h> |
| 27 | |
| 28 | #endif /* _URCU_ARCH_UATOMIC_M68K_H */ |