commit | e4e3b5ccd77226c9c4dbb0737106b868dfc182d9 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@kernel.crashing.org> | Wed Sep 27 11:28:20 2006 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Sep 27 11:28:20 2006 +0900 |
tree | 8401beac23ca03f79c52094ea10139658661769d | |
parent | 0c91c1a7012911e4b0180a1c1ae258e2b706f987 [diff] |
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>