Commit | Line | Data |
---|---|---|
d3d3857f MJ |
1 | // SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. |
2 | // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
3 | // | |
4 | // SPDX-License-Identifier: LGPL-2.1-or-later | |
5 | ||
5e77fc1f | 6 | /* |
5e77fc1f PM |
7 | * Userspace RCU header -- name mapping to allow multiple flavors to be |
8 | * used in the same executable. | |
9 | * | |
5e77fc1f PM |
10 | * LGPL-compatible code should include this header with : |
11 | * | |
12 | * #define _LGPL_SOURCE | |
13 | * #include <urcu.h> | |
14 | * | |
5e77fc1f PM |
15 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
16 | */ | |
17 | ||
5e77fc1f | 18 | #ifdef RCU_MEMBARRIER |
4477a870 | 19 | #include <urcu/map/urcu-memb.h> |
5e77fc1f | 20 | #elif defined(RCU_MB) |
4477a870 | 21 | #include <urcu/map/urcu-mb.h> |
0376e7b2 | 22 | #else |
0376e7b2 | 23 | #error "Undefined selection" |
5e77fc1f | 24 | #endif |