]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2b43742afdc03df926254aa81a5efef88f76623
treee7624355431132782ebf5e66404291c026eca667
parente15518ec67c2fe00d1d609aa0be4c3d5b4e39af7
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