]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: use abi_* register names in the kernel exit code
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 16 Apr 2022 06:53:38 +0000 (23:53 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 2 May 2022 02:51:21 +0000 (19:51 -0700)
commitf0076eca4bf9a0b5323316aadc3f92a57685237e
treec1c7fcdcc565b8d0d737eb4eab460a805099ede0
parent8f39f85a5f0bb1e137e820bc2b91aa98457c0562
xtensa: use abi_* register names in the kernel exit code

Using plain register names is prone to errors when code is changed and
new calls are added between the register load and use. Change plain
register names to abi_* names in the call-heavy part of the kernel exit
code to clearly indicate what's supposed to be preserved and what's not.
Re-align code while at it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/entry.S