Skip to content
Commit c03c6961 authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent bd156147
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment