ck_spinlock: Remove erroneous mask usage for non-x86 targets.

ck_pring 0.2.19
Samy Al Bahra 12 years ago
parent 045d0e1053
commit a8a74b9f57

@ -596,7 +596,7 @@ ck_spinlock_ticket_lock_pb(struct ck_spinlock_ticket *ticket, unsigned int c)
if (position == request)
break;
backoff = (request - position) & CK_SPINLOCK_TICKET_MASK;
backoff = request - position;
backoff <<= c;
/*

Loading…
Cancel
Save