]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1585f2e0a7b202dd5ff1dff5844b5812a38608a8
tree5cbd15a7245160395bd94899fe1add13b44ed412
parentb81ef975a065a5efaa8890f5f6470e560607c0ed
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