aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/devel/rcu.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/devel/rcu.txt b/docs/devel/rcu.txt
index cdf002edd8..2e6cc607a1 100644
--- a/docs/devel/rcu.txt
+++ b/docs/devel/rcu.txt
@@ -392,7 +392,7 @@ Instead, we store the size of the array with the array itself:
/* Removal phase. */
old_array = global_array;
- qatomic_rcu_set(&new_array->data, new_array);
+ qatomic_rcu_set(&global_array, new_array);
synchronize_rcu();
/* Reclamation phase. */