public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM_SLEEP_SMP: fix kconfig warning
@ 2010-09-11 22:57 Randy Dunlap
  2010-09-12 17:26 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2010-09-11 22:57 UTC (permalink / raw)
  To: lkml; +Cc: Rafael J. Wysocki, linux-pm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix kconfig unmet dependency warning:

warning: (PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE) && PM_SLEEP) selects HOTPLUG_CPU which has unmet direct dependencies (SMP && HOTPLUG)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 kernel/power/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100908.orig/kernel/power/Kconfig
+++ linux-next-20100908/kernel/power/Kconfig
@@ -83,7 +83,7 @@ config PM_TRACE_RTC
 
 config PM_SLEEP_SMP
 	bool
-	depends on SMP
+	depends on SMP && HOTPLUG
 	depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE
 	depends on PM_SLEEP
 	select HOTPLUG_CPU

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-12 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-11 22:57 [PATCH] PM_SLEEP_SMP: fix kconfig warning Randy Dunlap
2010-09-12 17:26 ` Rafael J. Wysocki
2010-09-12 18:50   ` Randy Dunlap
2010-09-12 19:36     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox