arm64: make ll/sc __cmpxchg_case_##name asm consistent
authorMark Rutland <mark.rutland@arm.com>
Tue, 4 Aug 2015 16:27:34 +0000 (17:27 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 4 Aug 2015 17:51:04 +0000 (18:51 +0100)
commit7f08a414f29e7daea661d03231998625257ed3f1
tree568dc0dce2d1185cfc972ea3e3a10831189fb86d
parent97942c2862d74689b6241802f2aa43972042389f
arm64: make ll/sc __cmpxchg_case_##name asm consistent

The ll/sc __cmpxchg_case_##name assembly mostly uses symbolic names for
operands, but in a single case uses %2 to refer to what is otherwise
known as %[v]. This makes the code more painful to read than is
necessary.

Use %[v] instead.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/atomic_ll_sc.h