Skip to content
Commit ab306cae authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: use atomic exchange in arch_write_unlock()



This idiom is used elsewhere when we do an unlock by writing a zero,
but I missed it here.  Using an atomic operation avoids waiting
on the write buffer for the unlocking write to be sent to the home cache.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent b14f2190
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment