]> 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)
commitc5d689e83aa1adbfd9e89c2a76b5ce5b7aaf5f66
treec1c7fcdcc565b8d0d737eb4eab460a805099ede0
parentd40db41ab5e39ee52b1a966382f2ce2b57302d15
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