sh: New atomic ops for SH-4A movli.l/movco.l
commit781125ca58dfbd47635cfc0e408f1f9d7e10b227
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 08:52:19 +0000 (27 17:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 08:52:19 +0000 (27 17:52 +0900)
tree92d44b262478d5cece046ff661694b1109ab1e9d
parent15f57a29a19ad0dbb468363cb617b06f71f6de92
sh: New atomic ops for SH-4A movli.l/movco.l

SH-4A implements LL/SC instructions, so we implement a simple
set of atomic operations using these.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/atomic.h