Skip to content
Commit b23eb636 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/atomic: get rid of gcc atomic builtins

s390 is the only architecture in the kernel which makes use of gcc's
atomic builtin functions. Even though I don't see any technical
problem with that right now, remove this code and open-code
compare-and-swap loops again, like every other architecture is doing
it also.
We can switch to a generic implementation when other architectures are
doing that also.

See also https://lwn.net/Articles/586838/

 for forther details.

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent ca897bb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment