summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-09-12 21:40:01 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2010-10-17 01:57:42 +0200
commitede890c2c069d611ece0e184103a6b9236ce416a (patch)
tree60c54446878e60d898f233cba2946aeaa7b582b2 /kernel
parentf996fc9671d088bd5f52a70f18c64bfe3d0e418f (diff)
downloadlinux-stable-ede890c2c069d611ece0e184103a6b9236ce416a.tar.gz
linux-stable-ede890c2c069d611ece0e184103a6b9236ce416a.tar.bz2
linux-stable-ede890c2c069d611ece0e184103a6b9236ce416a.zip
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 <rjw@sisk.pl> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/Kconfig1
1 files changed, 1 insertions, 0 deletions
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