Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Matthew Wilcox | 1366c37 | 2016-03-17 14:21:45 -0700 | [diff] [blame] | 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) |
Matthew Wilcox | ad3d6c7 | 2017-11-07 14:57:46 -0500 | [diff] [blame] | 9 | #define rcu_dereference_check(p, cond) rcu_dereference(p) |
| 10 | #define RCU_INIT_POINTER(p, v) (p) = (v) |
Matthew Wilcox | 1366c37 | 2016-03-17 14:21:45 -0700 | [diff] [blame] | 11 | |
| 12 | #endif |