aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/linux/rcupdate.h
blob: fed468fb0c78db6f33fb1900c7110ab5f3c19c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _RCUPDATE_H
#define _RCUPDATE_H

#include <urcu.h>

#define rcu_dereference_raw(p) rcu_dereference(p)
#define rcu_dereference_protected(p, cond) rcu_dereference(p)
#define rcu_dereference_check(p, cond) rcu_dereference(p)
#define RCU_INIT_POINTER(p, v)	do { (p) = (v); } while (0)

#endif