summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/cmpxchg-llsc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sh: Relax inline assembly constraintsMatt Fleming2009-01-291-19/+19
| | | | | | | | | | When dereferencing the memory address contained in a register and modifying the value at that memory address, the register should not be listed in the inline asm outputs. The value at the memory address is an output (which is taken care of with the "memory" clobber), not the register. Signed-off-by: Matt Fleming <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide movli.l/movco.l-based cmpxchg.Paul Mundt2008-09-081-0/+71
Signed-off-by: Paul Mundt <lethal@linux-sh.org>