]> www.infradead.org Git - users/jedix/linux-maple.git/commit
LoongArch: Adjust SETUP_SLEEP and SETUP_WAKEUP
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jan 2025 10:51:43 +0000 (18:51 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 25 Jan 2025 10:51:43 +0000 (18:51 +0800)
commit307094c9e26ef704d7061733f8d6fab9ca2ad09a
treee722e0e71ed105c126d110896cd2fb52b8e85da7
parent5d0cc7e585432b64a18aefab8876a8c433394560
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: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/power/suspend_asm.S