xref: /openbmc/linux/tools/testing/radix-tree/linux/rcupdate.h (revision 023e41632e065d49bcbe31b3c4b336217f96a271)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _RCUPDATE_H
3 #define _RCUPDATE_H
4 
5 #include <urcu.h>
6 
7 #define rcu_dereference_raw(p) rcu_dereference(p)
8 #define rcu_dereference_protected(p, cond) rcu_dereference(p)
9 #define rcu_dereference_check(p, cond) rcu_dereference(p)
10 #define RCU_INIT_POINTER(p, v)	(p) = (v)
11 
12 #endif
13