From 8790d75d93c7e06b7b93c1078260aaf1e4ea25ca Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 18 Apr 2018 21:45:12 +0200 Subject: kern/atomic: remove shortcuts These shortcuts just don't bring enough value. --- kern/spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/spinlock.c') 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); -- cgit v1.2.3