loongarch wakeup build error

From: Randy Dunlap
Date: Wed Mar 29 2023 - 18:55:27 EST


Hi,

I don't know if this has been reported previously, so here goes.

When CONFIG_SUSPEND is not set:

loongarch64-linux-ld: drivers/acpi/sleep.o: in function `acpi_pm_prepare':
sleep.c:(.text+0x278): undefined reference to `loongarch_wakeup_start'
loongarch64-linux-ld: sleep.c:(.text+0x27c): undefined reference to `loongarch_wakeup_start'
loongarch64-linux-ld: sleep.c:(.text+0x27c): undefined reference to `loongarch_wakeup_start'

A complete randconfig file is attached.

--
~Randy

Attachment: lg-wakeup-not-suspend.config
Description: application/config