| 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 | * #undef _LGPL_SOURCE |
| 13 | * #include <urcu.h> |
| 14 | * |
| 15 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
| 16 | */ |
| 17 | |
| 18 | #undef rcu_read_lock |
| 19 | #undef _rcu_read_lock |
| 20 | #undef rcu_read_unlock |
| 21 | #undef _rcu_read_unlock |
| 22 | #undef rcu_read_ongoing |
| 23 | #undef _rcu_read_ongoing |
| 24 | #undef rcu_quiescent_state |
| 25 | #undef _rcu_quiescent_state |
| 26 | #undef rcu_thread_offline |
| 27 | #undef rcu_thread_online |
| 28 | #undef rcu_register_thread |
| 29 | #undef rcu_unregister_thread |
| 30 | #undef rcu_init |
| 31 | #undef rcu_exit |
| 32 | #undef synchronize_rcu |
| 33 | #undef rcu_reader |
| 34 | #undef rcu_gp |
| 35 | |
| 36 | #undef get_cpu_call_rcu_data |
| 37 | #undef get_call_rcu_thread |
| 38 | #undef create_call_rcu_data |
| 39 | #undef set_cpu_call_rcu_data |
| 40 | #undef get_default_call_rcu_data |
| 41 | #undef get_call_rcu_data |
| 42 | #undef get_thread_call_rcu_data |
| 43 | #undef set_thread_call_rcu_data |
| 44 | #undef create_all_cpu_call_rcu_data |
| 45 | #undef free_all_cpu_call_rcu_data |
| 46 | #undef call_rcu |
| 47 | #undef call_rcu_data_free |
| 48 | #undef call_rcu_before_fork |
| 49 | #undef call_rcu_after_fork_parent |
| 50 | #undef call_rcu_after_fork_child |
| 51 | #undef rcu_barrier |
| 52 | |
| 53 | #undef defer_rcu |
| 54 | #undef rcu_defer_register_thread |
| 55 | #undef rcu_defer_unregister_thread |
| 56 | #undef rcu_defer_barrier |
| 57 | |
| 58 | #undef rcu_defer_barrier_thread |
| 59 | #undef rcu_defer_exit |
| 60 | |
| 61 | #undef rcu_flavor |
| 62 | |
| 63 | #undef urcu_register_rculfhash_atfork |
| 64 | #undef urcu_unregister_rculfhash_atfork |
| 65 | |
| 66 | #undef start_poll_synchronize_rcu |
| 67 | #undef poll_state_synchronize_rcu |