1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21366c37eSMatthew Wilcox #ifndef _RCUPDATE_H 31366c37eSMatthew Wilcox #define _RCUPDATE_H 41366c37eSMatthew Wilcox 51366c37eSMatthew Wilcox #include <urcu.h> 61366c37eSMatthew Wilcox 71366c37eSMatthew Wilcox #define rcu_dereference_raw(p) rcu_dereference(p) 81366c37eSMatthew Wilcox #define rcu_dereference_protected(p, cond) rcu_dereference(p) 9ad3d6c72SMatthew Wilcox #define rcu_dereference_check(p, cond) rcu_dereference(p) 109129b017SAndrea Parri #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) 111366c37eSMatthew Wilcox 121366c37eSMatthew Wilcox #endif 13