arm64: avoid using hard-coded registers for LSE atomics
authorAndrew Murray <andrew.murray@arm.com>
Wed, 28 Aug 2019 17:50:08 +0000 (18:50 +0100)
committerWill Deacon <will@kernel.org>
Thu, 29 Aug 2019 14:53:48 +0000 (15:53 +0100)
commit3337cb5aea594e4090a660e3fc3250bb669b1305
tree5cbd15a7245160395bd94899fe1add13b44ed412
parentaddfc38672c73efd5c4e559a2e455b086e3e20c5
arm64: avoid using hard-coded registers for LSE atomics

Now that we have removed the out-of-line ll/sc atomics we can give
the compiler the freedom to choose its own register allocation.

Remove the hard-coded use of x30.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/atomic_lse.h