Sparc32 lacks compare and exchange. I think PARISC lacks it as well.
For these older SMP systems, at best you can assume there is some kind of spinlock and perhaps a straight atomic exchange instruction. You really can't assume the existance of compare-and-swap.
