]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Fixup movli.l/movco.l atomic ops for gcc4.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 1 Dec 2006 05:32:54 +0000 (14:32 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:40 +0000 (10:45 +0900)
commitc03c69610bfa728805deceeb624ee4268c722a5a
tree07085eab7196c1e7219473d5a164a0569bce9611
parentbd156147eb63ae525e0ac67868e41a808f03c532
sh: Fixup movli.l/movco.l atomic ops for gcc4.

gcc4 gets a bit pissy about the outputs:

include/asm/atomic.h: In function 'atomic_add':
include/asm/atomic.h:37: error: invalid lvalue in asm statement
include/asm/atomic.h:30: error: invalid lvalue in asm output 1
...

this ended up being a thinko anyways, so just fix it up.

Verified for proper behaviour with the older toolchains, too.

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