瀏覽代碼

[PATCH] SOFTWARE_SUSPEND needs HOTPLUG_CPU on SMP

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy Dunlap 19 年之前
父節點
當前提交
720b9429e8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/power/Kconfig

+ 1 - 1
kernel/power/Kconfig

@@ -29,7 +29,7 @@ config PM_DEBUG
 
 
 config SOFTWARE_SUSPEND
 config SOFTWARE_SUSPEND
 	bool "Software Suspend"
 	bool "Software Suspend"
-	depends on PM && SWAP && (X86 || ((FVR || PPC32) && !SMP))
+	depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FVR || PPC32) && !SMP)
 	---help---
 	---help---
 	  Enable the possibility of suspending the machine.
 	  Enable the possibility of suspending the machine.
 	  It doesn't need APM.
 	  It doesn't need APM.