Commit | Line | Data |
---|---|---|
4477a870 MD |
1 | /* |
2 | * map/urcu-clear.h | |
3 | * | |
4 | * Userspace RCU header -- name mapping to allow multiple flavors to be | |
5 | * used in the same executable. | |
6 | * | |
7 | * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
8 | * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. | |
9 | * | |
10 | * LGPL-compatible code should include this header with : | |
11 | * | |
12 | * #undef _LGPL_SOURCE | |
13 | * #include <urcu.h> | |
14 | * | |
15 | * This library is free software; you can redistribute it and/or | |
16 | * modify it under the terms of the GNU Lesser General Public | |
17 | * License as published by the Free Software Foundation; either | |
18 | * version 2.1 of the License, or (at your option) any later version. | |
19 | * | |
20 | * This library is distributed in the hope that it will be useful, | |
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
23 | * Lesser General Public License for more details. | |
24 | * | |
25 | * You should have received a copy of the GNU Lesser General Public | |
26 | * License along with this library; if not, write to the Free Software | |
27 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
28 | * | |
29 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. | |
30 | */ | |
31 | ||
32 | #undef rcu_read_lock | |
33 | #undef _rcu_read_lock | |
34 | #undef rcu_read_unlock | |
35 | #undef _rcu_read_unlock | |
36 | #undef rcu_read_ongoing | |
37 | #undef _rcu_read_ongoing | |
38 | #undef rcu_quiescent_state | |
39 | #undef _rcu_quiescent_state | |
40 | #undef rcu_thread_offline | |
41 | #undef rcu_thread_online | |
42 | #undef rcu_register_thread | |
43 | #undef rcu_unregister_thread | |
44 | #undef rcu_init | |
45 | #undef rcu_exit | |
46 | #undef synchronize_rcu | |
47 | #undef rcu_reader | |
48 | #undef rcu_gp | |
49 | ||
50 | #undef get_cpu_call_rcu_data | |
51 | #undef get_call_rcu_thread | |
52 | #undef create_call_rcu_data | |
53 | #undef set_cpu_call_rcu_data | |
54 | #undef get_default_call_rcu_data | |
55 | #undef get_call_rcu_data | |
56 | #undef get_thread_call_rcu_data | |
57 | #undef set_thread_call_rcu_data | |
58 | #undef create_all_cpu_call_rcu_data | |
59 | #undef free_all_cpu_call_rcu_data | |
60 | #undef call_rcu | |
61 | #undef call_rcu_data_free | |
62 | #undef call_rcu_before_fork | |
63 | #undef call_rcu_after_fork_parent | |
64 | #undef call_rcu_after_fork_child | |
65 | #undef rcu_barrier | |
66 | ||
67 | #undef defer_rcu | |
68 | #undef rcu_defer_register_thread | |
69 | #undef rcu_defer_unregister_thread | |
70 | #undef rcu_defer_barrier | |
71 | ||
72 | #undef rcu_defer_barrier_thread | |
73 | #undef rcu_defer_exit | |
74 | ||
75 | #undef rcu_flavor | |
76 | ||
77 | #undef urcu_register_rculfhash_atfork | |
78 | #undef urcu_unregister_rculfhash_atfork | |
79 | ||
80 | /* Aliases for ABI(6) compat */ | |
81 | ||
82 | #undef alias_rcu_flavor | |
83 | ||
84 | /* src/urcu.c */ | |
85 | #undef alias_rcu_read_lock | |
86 | #undef alias_rcu_read_unlock | |
87 | #undef alias_rcu_read_ongoing | |
88 | #undef alias_rcu_register_thread | |
89 | #undef alias_rcu_unregister_thread | |
90 | #undef alias_rcu_init | |
91 | #undef alias_rcu_exit | |
92 | #undef alias_synchronize_rcu | |
93 | #undef alias_rcu_reader | |
94 | #undef alias_rcu_gp | |
95 | ||
96 | /* src/urcu-call-rcu-impl.h */ | |
97 | #undef alias_get_cpu_call_rcu_data | |
98 | #undef alias_get_call_rcu_thread | |
99 | #undef alias_create_call_rcu_data | |
100 | #undef alias_set_cpu_call_rcu_data | |
101 | #undef alias_get_default_call_rcu_data | |
102 | #undef alias_get_call_rcu_data | |
103 | #undef alias_get_thread_call_rcu_data | |
104 | #undef alias_set_thread_call_rcu_data | |
105 | #undef alias_create_all_cpu_call_rcu_data | |
106 | #undef alias_free_all_cpu_call_rcu_data | |
107 | #undef alias_call_rcu | |
108 | #undef alias_call_rcu_data_free | |
109 | #undef alias_call_rcu_before_fork | |
110 | #undef alias_call_rcu_after_fork_parent | |
111 | #undef alias_call_rcu_after_fork_child | |
112 | #undef alias_rcu_barrier | |
113 | ||
114 | #undef alias_urcu_register_rculfhash_atfork | |
115 | #undef alias_urcu_unregister_rculfhash_atfork | |
116 | ||
117 | /* src/urcu-defer-impl.h */ | |
118 | #undef alias_defer_rcu | |
119 | #undef alias_rcu_defer_register_thread | |
120 | #undef alias_rcu_defer_unregister_thread | |
121 | #undef alias_rcu_defer_barrier | |
122 | #undef alias_rcu_defer_barrier_thread | |
123 | #undef alias_rcu_defer_exit |