OSDN Git Service

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)
commit961c5efbc493ef497fe68ec07a4ed081acba4c92
treec1c7fcdcc565b8d0d737eb4eab460a805099ede0
parentde4415d0bac91192ee9c74e849bc61429efa9b42
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