fix powerpc atomic compare-and-swap function
authorRich Felker <dalias@aerifal.cx>
Wed, 14 Nov 2012 19:24:22 +0000 (14:24 -0500)
committerRich Felker <dalias@aerifal.cx>
Wed, 14 Nov 2012 19:24:22 +0000 (14:24 -0500)
commite7257d3e63b10d4725450c383e94cdbb997d9151
tree34753864f964804b24bab36c94f4430d7bff9996
parent574d01a69617921b72d0171f9a0d6cd414619220
fix powerpc atomic compare-and-swap function

previous version did not compare at all; it was just a fancy atomic
write. untested. further atomic fixes may be needed.
arch/powerpc/atomic.h