SOFTWARE_SUSPEND requires PM on PPC?
Horms
horms at verge.net.au
Mon Nov 7 20:03:28 EST 2005
Hi,
I haven't entirely investigated this, but it seems that CONFIG_PM needs
to be set for CONFIT_SOFFTWARE_SUSPEND to compile cleanly. For startes,
swsusp_arch_suspend needs swsusp_save. Sould SOFTWARE_SUSPEND required
PM, or should i add some strategic #ifdef CONFIG_PM to the code. This is
2.6.14, but i think its present in Linus' current git.
arch/ppc/kernel/built-in.o: In function `swsusp_arch_suspend':
: undefined reference to `swsusp_save'
arch/ppc/kernel/built-in.o: In function `swsusp_arch_resume':
: undefined reference to `pagedir_nosave'
arch/ppc/kernel/built-in.o: In function `swsusp_arch_resume':
: undefined reference to `pagedir_nosave'
arch/ppc/platforms/built-in.o: In function `pmac_late_init':
: undefined reference to `pm_set_ops'
Should PM require SOFTWARE_SUSPEND on PPC, or should the
calls to swsusp_save, pagedir_nosave, pagedir_nosave and pm_set_ops
be gaurded with #ifdef CONFIG_PM ?
--
Horms
More information about the Linuxppc64-dev
mailing list