Skip to content
Commit 4c7c9978 authored by Aoi Shinkai's avatar Aoi Shinkai Committed by Paul Mundt
Browse files

sh: Fix sh4a llsc-based cmpxchg()



This fixes up a typo in the ll/sc based cmpxchg code which apparently
wasn't getting a lot of testing due to the swapped old/new pair. With
that fixed up, the ll/sc code also starts using it and provides its own
atomic_add_unless().

Signed-off-by: default avatarAoi Shinkai <shinkoi2005@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f168dd00
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment