| 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 | |
| 6 | /* |
| 7 | * Userspace RCU header -- name mapping to allow multiple flavors to be |
| 8 | * used in the same executable. |
| 9 | * |
| 10 | * LGPL-compatible code should include this header with : |
| 11 | * |
| 12 | * #define _LGPL_SOURCE |
| 13 | * #include <urcu.h> |
| 14 | * |
| 15 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
| 16 | */ |
| 17 | |
| 18 | #ifdef RCU_MEMBARRIER |
| 19 | #include <urcu/map/urcu-memb.h> |
| 20 | #elif defined(RCU_MB) |
| 21 | #include <urcu/map/urcu-mb.h> |
| 22 | #else |
| 23 | #error "Undefined selection" |
| 24 | #endif |