fix: handle EINTR correctly in get_cpu_mask_from_sysfs
[urcu.git] / include / urcu / map / urcu-bp.h
index a80005f85162f53dd0b58e37fff57cda1a5240d0..da7a5ebd9adef018c70d148b7f7503e5faba64b9 100644 (file)
@@ -1,31 +1,17 @@
+// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation.
+// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
 /*
- * urcu/map/urcu-bp.h
- *
  * Userspace RCU header -- name mapping to allow multiple flavors to be
  * used in the same executable.
  *
- * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
- *
  * LGPL-compatible code should include this header with :
  *
  * #define _LGPL_SOURCE
  * #include <urcu.h>
  *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  * IBM's contributions to this file may be relicensed under LGPLv2 or later.
  */
 
 #define urcu_unregister_rculfhash_atfork       \
                urcu_bp_unregister_rculfhash_atfork
 
-
-/* Aliases for ABI(6) compat */
-
-#define alias_rcu_flavor               rcu_flavor_bp
-
-#define alias_get_cpu_call_rcu_data    get_cpu_call_rcu_data_bp
-#define alias_get_call_rcu_thread      get_call_rcu_thread_bp
-#define alias_create_call_rcu_data     create_call_rcu_data_bp
-#define alias_set_cpu_call_rcu_data    set_cpu_call_rcu_data_bp
-#define alias_get_default_call_rcu_data        get_default_call_rcu_data_bp
-#define alias_get_call_rcu_data                get_call_rcu_data_bp
-#define alias_get_thread_call_rcu_data get_thread_call_rcu_data_bp
-#define alias_set_thread_call_rcu_data set_thread_call_rcu_data_bp
-#define alias_create_all_cpu_call_rcu_data     \
-               create_all_cpu_call_rcu_data_bp
-#define alias_free_all_cpu_call_rcu_data       \
-               free_all_cpu_call_rcu_data_bp
-#define alias_call_rcu                 call_rcu_bp
-#define alias_call_rcu_data_free       call_rcu_data_free_bp
-#define alias_call_rcu_before_fork     call_rcu_before_fork_bp
-#define alias_call_rcu_after_fork_parent       \
-               call_rcu_after_fork_parent_bp
-#define alias_call_rcu_after_fork_child        call_rcu_after_fork_child_bp
-#define alias_rcu_barrier              rcu_barrier_bp
-
-#define alias_defer_rcu                        defer_rcu_bp
-#define alias_rcu_defer_register_thread        rcu_defer_register_thread_bp
-#define alias_rcu_defer_unregister_thread      \
-               rcu_defer_unregister_thread_bp
-#define alias_rcu_defer_barrier                rcu_defer_barrier_bp
-#define alias_rcu_defer_barrier_thread rcu_defer_barrier_thread_bp
-#define alias_rcu_defer_exit           rcu_defer_exit_bp
-
-#define alias_urcu_register_rculfhash_atfork   \
-               urcu_register_rculfhash_atfork_bp
-#define alias_urcu_unregister_rculfhash_atfork \
-               urcu_unregister_rculfhash_atfork_bp
+#define start_poll_synchronize_rcu     urcu_bp_start_poll_synchronize_rcu
+#define poll_state_synchronize_rcu     urcu_bp_poll_state_synchronize_rcu
 
 
 /* Compat identifiers for prior undocumented multiflavor usage */
This page took 0.023446 seconds and 4 git commands to generate.