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: v2.6.37-rc1~185^2~23 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ede890c2c069d611ece0e184103a6b9236ce416a;p=~emulex%2Finfiniband.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 cb57eb99215..e45894c696e 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