MIPS: Allow suspend and hibernation again on uniprocessor kernels.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 2 Jul 2009 10:48:07 +0000 (11:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 3 Jul 2009 14:45:28 +0000 (15:45 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
arch/mips/Kconfig

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