summaryrefslogtreecommitdiff
path: root/kern/spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/spinlock.c')
-rw-r--r--kern/spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/spinlock.c b/kern/spinlock.c
index a1c013cd..71e60cb6 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);