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/spinlock.c | |
parent | 3640f94ee392b19de48360d2d026a7f581447049 (diff) |
kern/atomic: remove shortcuts
These shortcuts just don't bring enough value.
Diffstat (limited to 'kern/spinlock.c')
-rw-r--r-- | kern/spinlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/spinlock.c b/kern/spinlock.c index a1c013c..71e60cb 100644 --- a/kern/spinlock.c +++ b/kern/spinlock.c @@ -260,7 +260,7 @@ spinlock_get_remote_qnode(uint32_t qid) unsigned int ctx, cpu; /* This fence synchronizes with queueing */ - atomic_fence_acquire(); + atomic_fence(ATOMIC_ACQUIRE); ctx = spinlock_qid_ctx(qid); cpu = spinlock_qid_cpu(qid); |