diff options
author | Richard Braun <rbraun@sceen.net> | 2018-04-18 21:45:12 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-04-19 01:45:43 +0200 |
commit | 8790d75d93c7e06b7b93c1078260aaf1e4ea25ca (patch) | |
tree | 478eb3eb2607f1312d7b4e64cab23f3bcb0268ee /kern/rcu.c | |
parent | 3640f94ee392b19de48360d2d026a7f581447049 (diff) |
kern/atomic: remove shortcuts
These shortcuts just don't bring enough value.
Diffstat (limited to 'kern/rcu.c')
-rw-r--r-- | kern/rcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |