diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-24 19:12:39 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-24 19:12:39 +0300 |
commit | b989ff070574ad8b8621d866de0a8e9a65d42c80 (patch) | |
tree | f93489ff6715891e4d13bc3e09521000894d18e6 /tools/testing/radix-tree | |
parent | 4289ee7d5a8343eaddd0986f8fb492868e2f546f (diff) | |
parent | 11ca7a9d541d09586fbf89290d1e14619cc40de0 (diff) | |
download | linux-b989ff070574ad8b8621d866de0a8e9a65d42c80.tar.xz |
Merge LKMM and RCU commits
Diffstat (limited to 'tools/testing/radix-tree')
-rw-r--r-- | tools/testing/radix-tree/linux/rcupdate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/radix-tree/linux/rcupdate.h b/tools/testing/radix-tree/linux/rcupdate.h index fd280b070fdb..fed468fb0c78 100644 --- a/tools/testing/radix-tree/linux/rcupdate.h +++ b/tools/testing/radix-tree/linux/rcupdate.h @@ -7,6 +7,6 @@ #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) (p) = (v) +#define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) #endif |