summaryrefslogtreecommitdiff
path: root/arch/x32/atomic_arch.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-01-22 00:16:53 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-22 00:16:53 +0000
commite24984efd5c6ac5ea8e6cb6cd914fa8435d458bc (patch)
treeeb38313534ed61fc81c346056bd1a37d399614bb /arch/x32/atomic_arch.h
parent369b22f9c4aebba2b8fe905db8469b2667572ee1 (diff)
downloadmusl-e24984efd5c6ac5ea8e6cb6cd914fa8435d458bc.tar.gz
clean up i386 atomics for new atomics framework
this commit mostly makes consistent things like spacing, function ordering in atomic_arch.h, argument names, use of volatile, etc. the fake 64-bit and/or atomics are also removed because the shared atomic.h does a better job of implementing them; it avoids making two atomic memory accesses when only one 32-bit half needs to be touched. no major overhaul is needed or possible because x86 actually has native versions of all the usual atomic operations, rather than using ll/sc or needing cas loops.
Diffstat (limited to 'arch/x32/atomic_arch.h')
0 files changed, 0 insertions, 0 deletions