![]() | |||||||||||
Messages in this thread Patch in this message |
Li Shaohua <shaohua.li@intel.com> wrote: > > Using CPU hotplug to support suspend/resume SMP. Both S3 and S4 use > disable/enable_nonboot_cpus API. The S4 part is based on Pavel's > original S4 SMP patch. On ia64, with tiger_defconfig: kernel/built-in.o(.text+0x59e12): In function `suspend_prepare': : undefined reference to `disable_nonboot_cpus' kernel/built-in.o(.text+0x59e62): In function `suspend_prepare': : undefined reference to `enable_nonboot_cpus' kernel/built-in.o(.text+0x5a222): In function `suspend_finish': : undefined reference to `enable_nonboot_cpus' Signed-off-by: Andrew Morton <akpm@osdl.org> --- include/linux/suspend.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/suspend.h~suspend-resume-smp-support-fix include/linux/suspend.h --- 25/include/linux/suspend.h~suspend-resume-smp-support-fix Thu Apr 28 15:12:21 2005 +++ 25-akpm/include/linux/suspend.h Thu Apr 28 15:13:13 2005 @@ -58,7 +58,7 @@ static inline int software_suspend(void) } #endif -#ifdef CONFIG_HOTPLUG_CPU +#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_SOFTWARE_SUSPEND) extern void disable_nonboot_cpus(void); extern void enable_nonboot_cpus(void); #else _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-04-28 09:28 [from the cache] ©2003-2008 | |||||||||||