*clh: Migrate to acquire interface for lock.

No functional impact on existing targets.
ck_pring
Samy Al Bahra 10 years ago
parent 0029650be1
commit d99feda642

@ -82,7 +82,7 @@ ck_spinlock_clh_lock(struct ck_spinlock_clh **queue, struct ck_spinlock_clh *thr
while (ck_pr_load_uint(&previous->wait) == true)
ck_pr_stall();
ck_pr_fence_load();
ck_pr_fence_acquire();
return;
}

@ -110,7 +110,7 @@ ck_spinlock_hclh_lock(struct ck_spinlock_hclh **glob_queue,
while (ck_pr_load_uint(&previous->wait) == true)
ck_pr_stall();
ck_pr_fence_load();
ck_pr_fence_acquire();
return;
}

Loading…
Cancel
Save