Re: apm_32.c: undefined reference to `cpuidle_poll_state_init'

From: Rafael J. Wysocki
Date: Thu Feb 15 2018 - 11:08:28 EST


On 2/14/2018 7:02 PM, Meelis Roos wrote:
This is 4.16-rc1+git as of today, on a IBM PC 365 that uses APM instead
of ACPI. APM linking fails:

MODPOST vmlinux.o
arch/x86/kernel/apm_32.o: In function `apm_init':
apm_32.c:(.init.text+0x597): undefined reference to `cpuidle_poll_state_init'

There is a fix for that already in the linux-pm tree: https://patchwork.kernel.org/patch/10212015/

Thanks,
Rafael