• P
    sh: Fixup movli.l/movco.l atomic ops for gcc4. · c03c6961
    Paul Mundt 提交于
    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: NPaul Mundt <lethal@linux-sh.org>
    c03c6961
atomic.h 4.7 KB