Kaynağa Gözat

MIPS: SMP: Allow suspend and hibernation if CPU hotplug is available

The SMP implementation of suspend and hibernate depends on CPU hotplugging.
In the past we didn't have CPU hotplug so suspend and hibernation were not
possible on SMP systems.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 16 yıl önce
ebeveyn
işleme
9801b321ec
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      arch/mips/Kconfig

+ 2 - 2
arch/mips/Kconfig

@@ -2145,11 +2145,11 @@ menu "Power management options"
 
 
 config ARCH_HIBERNATION_POSSIBLE
 config ARCH_HIBERNATION_POSSIBLE
 	def_bool y
 	def_bool y
-	depends on !SMP
+	depends on SYS_SUPPORTS_HOTPLUG_CPU
 
 
 config ARCH_SUSPEND_POSSIBLE
 config ARCH_SUSPEND_POSSIBLE
 	def_bool y
 	def_bool y
-	depends on !SMP
+	depends on SYS_SUPPORTS_HOTPLUG_CPU
 
 
 source "kernel/power/Kconfig"
 source "kernel/power/Kconfig"