sh: Add a simple cmpxchg().
authorTom Rini <trini@kernel.crashing.org>
Wed, 27 Sep 2006 02:28:20 +0000 (11:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 02:28:20 +0000 (11:28 +0900)
We didn't have one of these before, a simple implementation
borrowed from MIPS as well as the __HAVE_ARCH_CMPXCHG bits.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found