aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2015-08-23 20:23:38 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-09 15:34:54 +0200
commit492e1ca9bd3f43ba417a5cf918e6c769aa2478b9 (patch)
tree41863afc15d9ddf0de95f2f0761b84acb6435293
parent5243722376873a48e9852a58b91f4d4101ee66e4 (diff)
rcu: fix comment with s/rcu_gp_lock/rcu_registry_lock/
Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1440375847-17603-10-git-send-email-cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--include/qemu/rcu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/rcu.h b/include/qemu/rcu.h
index 7df1e86622..f6d1d56375 100644
--- a/include/qemu/rcu.h
+++ b/include/qemu/rcu.h
@@ -71,7 +71,7 @@ struct rcu_reader_data {
/* Data used by reader only */
unsigned depth;
- /* Data used for registry, protected by rcu_gp_lock */
+ /* Data used for registry, protected by rcu_registry_lock */
QLIST_ENTRY(rcu_reader_data) node;
};