the obvious problem with the above is that APM_EMULATION is defined in
kernel/power/Kconfig arch-independently thusly:
config APM_EMULATION
tristate "Advanced Power Management Emulation"
depends on PM && SYS_SUPPORTS_APM_EMULATION
help
... blah blah ...
but the Kconfig variable SYS_SUPPORTS_APM_EMULATION is defined for
only a small subset of architectures:
$ grep "config SYS_SUPPORTS_APM_EMULATION" $(find . -name Kconfig*)
./arch/mips/Kconfig:config SYS_SUPPORTS_APM_EMULATION
./arch/sh/Kconfig:config SYS_SUPPORTS_APM_EMULATION
./arch/arm/Kconfig:config SYS_SUPPORTS_APM_EMULATION
./arch/powerpc/Kconfig:config SYS_SUPPORTS_APM_EMULATION
so there's a good chance that doing a kernel config with any other
arch than those listed above that supports PM is going to generate the
same warning.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
-