Revert "Kernel build: enter exception save sp_sl0,exit exception restroe sp_el0"

This reverts commit 52a4fb6fab.
This commit is contained in:
Xiang Xiao 2024-09-24 00:32:34 -07:00 committed by Alan C. Assis
parent 5095955591
commit 24fba43591

View file

@ -78,10 +78,6 @@
#endif
stp x0, x1, [sp, #8 * REG_ELR]
mrs x0, sp_el0
mrs x1, tpidrro_el0
stp x0, x1, [sp, #8 * REG_SP_EL0]
/* Increment exception depth */
mrs x0, tpidrro_el0
@ -266,10 +262,6 @@ SECTION_FUNC(text, arm64_exit_exception)
msr spsr_el1, x1
#endif
ldp x0, x1, [sp, #8 * REG_SP_EL0]
msr sp_el0, x0
msr tpidrro_el0, x1
/* decrement exception depth */
mrs x0, tpidrro_el0