Commit 307094c9 authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Adjust SETUP_SLEEP and SETUP_WAKEUP



SETUP_SLEEP should only save the GPR context, which is symmetric to
SETUP_WAKEUP, so move the acpi_saved_sp handling out of SETUP_SLEEP.

Move "addi.d  sp, sp, PT_SIZE" into SETUP_WAKEUP for the same reason.

No functional changes.

Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 5d0cc7e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment