sh: Relax inline assembly constraints
authorMatt Fleming <matt@console-pimps.org>
Tue, 20 Jan 2009 21:14:37 +0000 (21:14 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 02:57:09 +0000 (11:57 +0900)
commit42990701f938b9318e46102d9919ceb28e5b0e6d
tree495a86cf7d4528dbef351074f0b7c2ff21b61681
parente4e3c3f17fdb78282e3d9b4af7ec90d6e65798eb
sh: Relax inline assembly constraints

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>
arch/sh/include/asm/bitops-llsc.h
arch/sh/include/asm/cmpxchg-llsc.h