blob: fd280b070fdb1f03a098b94e2feaf1c3b9f2324f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Matthew Wilcox1366c372016-03-17 14:21:45 -07002#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)
Matthew Wilcoxad3d6c72017-11-07 14:57:46 -05009#define rcu_dereference_check(p, cond) rcu_dereference(p)
10#define RCU_INIT_POINTER(p, v) (p) = (v)
Matthew Wilcox1366c372016-03-17 14:21:45 -070011
12#endif