arm64: atomics: Remove '&' from '+&' asm constraint in lse atomics
authorWill Deacon <will.deacon@arm.com>
Fri, 7 Jul 2017 16:01:50 +0000 (17:01 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 20 Jul 2017 09:20:54 +0000 (10:20 +0100)
commit32fb5d73c98b079e7c815b62e9d88a39ff8ce509
treee7624355431132782ebf5e66404291c026eca667
parentc396fe7f0c2efdf6c02d723f7bd492c58725c822
arm64: atomics: Remove '&' from '+&' asm constraint in lse atomics

The lse implementation of atomic64_dec_if_positive uses the '+&' constraint,
but the '&' is redundant and confusing in this case, since early clobber
on a read/write operand is a strange concept.

Replace the constraint with '+'.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/atomic_lse.h