1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _RCUPDATE_H 2 #ifndef _RCUPDATE_H 3 #define _RCUPDATE_H 3 #define _RCUPDATE_H 4 4 5 #include <urcu.h> 5 #include <urcu.h> 6 6 7 #define rcu_dereference_raw(p) rcu_dereference 7 #define rcu_dereference_raw(p) rcu_dereference(p) 8 #define rcu_dereference_protected(p, cond) rcu 8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) 9 #define rcu_dereference_check(p, cond) rcu_der 9 #define rcu_dereference_check(p, cond) rcu_dereference(p) 10 #define RCU_INIT_POINTER(p, v) do { (p) = (v) 10 #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) 11 11 12 #endif 12 #endif 13 13
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.