From: Rafael J. Wysocki Date: Sun, 12 Sep 2010 19:40:01 +0000 (+0200) Subject: PM: Fix unmet dependency warning from kconfig X-Git-Tag: Ubuntu-5.10.0-12.13~26740^2~23 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ede890c2c069d611ece0e184103a6b9236ce416a;p=mirror_ubuntu-hirsute-kernel.git PM: Fix unmet dependency warning from kconfig Fix the following build warning: warning: (PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || \ ARCH_HIBERNATION_POSSIBLE) && PM_SLEEP) selects HOTPLUG_CPU which \ has unmet direct dependencies (SMP && HOTPLUG) by selecting HOTPLUG along with CPU_HOTPLUG. Signed-off-by: Rafael J. Wysocki Acked-by: Randy Dunlap --- diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index cb57eb99215f..e45894c696ee 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -86,6 +86,7 @@ config PM_SLEEP_SMP depends on SMP depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE depends on PM_SLEEP + select HOTPLUG select HOTPLUG_CPU default y