]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
MIPS: SMP: Allow suspend and hibernation if CPU hotplug is available
authorRalf Baechle <ralf@linux-mips.org>
Tue, 23 Jun 2009 09:20:56 +0000 (10:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 24 Jun 2009 17:34:40 +0000 (18:34 +0100)
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>
arch/mips/Kconfig

index eb7e8d795c6a2f52155aeb9329b090213f4afc1a..3cce4ed5473d08d3363de372812d493ec9a5829e 100644 (file)
@@ -2145,11 +2145,11 @@ menu "Power management options"
 
 config ARCH_HIBERNATION_POSSIBLE
        def_bool y
-       depends on !SMP
+       depends on SYS_SUPPORTS_HOTPLUG_CPU
 
 config ARCH_SUSPEND_POSSIBLE
        def_bool y
-       depends on !SMP
+       depends on SYS_SUPPORTS_HOTPLUG_CPU
 
 source "kernel/power/Kconfig"