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/clock.c | |
parent | 3640f94ee392b19de48360d2d026a7f581447049 (diff) |
kern/atomic: remove shortcuts
These shortcuts just don't bring enough value.
Diffstat (limited to 'kern/clock.c')
-rw-r--r-- | kern/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/clock.c b/kern/clock.c index 0b72a8f..27fb9a2 100644 --- a/kern/clock.c +++ b/kern/clock.c @@ -82,8 +82,8 @@ void clock_tick_intr(void) t.ticks++; atomic_store(&clock_global_time.high2, t.high1, ATOMIC_RELAXED); - atomic_store_release(&clock_global_time.low, t.low); - atomic_store_release(&clock_global_time.high1, t.high1); + atomic_store(&clock_global_time.low, t.low, ATOMIC_RELEASE); + atomic_store(&clock_global_time.high1, t.high1, ATOMIC_RELEASE); #endif /* ATOMIC_HAVE_64B_OPS */ } |