]> Pileus Git - ~andy/linux/commit
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)
commite4e3b5ccd77226c9c4dbb0737106b868dfc182d9
tree8401beac23ca03f79c52094ea10139658661769d
parent0c91c1a7012911e4b0180a1c1ae258e2b706f987
sh: Add a simple cmpxchg().

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>
include/asm-sh/system.h