]> 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)
commit9bc96f55606df11f3762dee1cfe8416544739634
treee7624355431132782ebf5e66404291c026eca667
parent6e932e9a84ca1ca1cfce5191b06d76b667c46a8d
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