Replace erroneous COMPARE_AND_SWAP version with the one from uClibc
commit942f4e7beba8bf9701d59c80b552688dd93f33ec
authorNevo <sakur.deagod@gmail.com>
Thu, 24 Jul 2008 18:46:42 +0000 (24 20:46 +0200)
committerGuennadi Liakhovetski <lyakh@6a.(none)>
Sat, 26 Jul 2008 23:15:02 +0000 (27 01:15 +0200)
tree24628156ba69199783f3c3ee6884a2ebeee714fb
parentbbba40ae3283d62120507773f209e1e3ffcad472
Replace erroneous COMPARE_AND_SWAP version with the one from uClibc

Nevo has found the jamvm on AVR32 COMPARE_AND_SWAP implementation buggy, and -
modesty aside - I (lyakh) found the original uClibc implementation, that the
jamvm version has obviously been copied from, whereby a bug has been introduced.
src/arch/avr32.h