summaryrefslogtreecommitdiff
path: root/kern/rcu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/rcu.c')
-rw-r--r--kern/rcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/rcu.c b/kern/rcu.c
index 834a99bd..9f2b993b 100644
--- a/kern/rcu.c
+++ b/kern/rcu.c
@@ -292,7 +292,7 @@ rcu_data_check_gp_state(const struct rcu_data *data,
*global_gp_state = atomic_load(&data->gp_state, ATOMIC_RELAXED);
if (unlikely(local_gp_state != *global_gp_state)) {
- atomic_fence_acquire();
+ atomic_fence(ATOMIC_ACQUIRE);
return true;
}