]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Remove cmpxchg_local() and drop _mb from the other helpers
authorJulien Grall <jgrall@amazon.com>
Fri, 11 Sep 2020 16:06:21 +0000 (17:06 +0100)
committerJulien Grall <jgrall@amazon.com>
Fri, 18 Sep 2020 16:33:01 +0000 (17:33 +0100)
commit5a15c8a65f871d2d8bf4f0c01389f8fbb86455d3
treec67b57e41129bd04899d551d23130bbf15b5f938
parent414d22cc092eab4a5b90d2ce594495733b07c77a
xen/arm: Remove cmpxchg_local() and drop _mb from the other helpers

The current set of helpers are quite confusing to follow as the naming
is not very consistent.

Given that cmpxchg_local() is not used in Xen, drop it completely.
Furthermore, adopt a naming with _mb so all names are now consistent.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/include/asm-arm/arm32/cmpxchg.h
xen/include/asm-arm/arm64/cmpxchg.h
xen/include/asm-arm/guest_atomics.h