Commit | Line | Data |
---|---|---|
d3d3857f MJ |
1 | // SPDX-FileCopyrightText: 2016 Marek Vasut <marex@denx.de> |
2 | // | |
3 | // SPDX-License-Identifier: LGPL-2.1-or-later | |
4 | ||
859050b3 MV |
5 | #ifndef _URCU_ARCH_NIOS2_H |
6 | #define _URCU_ARCH_NIOS2_H | |
7 | ||
8 | /* | |
9 | * arch_nios2.h: trivial definitions for the NIOS2 architecture. | |
859050b3 MV |
10 | */ |
11 | ||
12 | #include <urcu/compiler.h> | |
13 | #include <urcu/config.h> | |
14 | #include <urcu/syscall-compat.h> | |
15 | ||
16 | #ifdef __cplusplus | |
17 | extern "C" { | |
18 | #endif | |
19 | ||
20 | #define cmm_mb() cmm_barrier() | |
21 | ||
22 | #ifdef __cplusplus | |
23 | } | |
24 | #endif | |
25 | ||
26 | #include <urcu/arch/generic.h> | |
27 | ||
28 | #endif /* _URCU_ARCH_NIOS2_H */ |