MIPS: Allow suspend and hibernation again on uniprocessor kernels.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Saturday, July 4, 2009 - 1:59 pm

Gitweb:     http://git.kernel.org/linus/3f5b3e17f791ba27f91fc4fdc514e7704d4d6273
Commit:     3f5b3e17f791ba27f91fc4fdc514e7704d4d6273
Parent:     cad9bc69048b073023366ebb0878c1dd64a2c4d9
Author:     Ralf Baechle <ralf@linux-mips.org>
AuthorDate: Thu Jul 2 11:48:07 2009 +0100
Committer:  Ralf Baechle <ralf@linux-mips.org>
CommitDate: Fri Jul 3 15:45:28 2009 +0100

    MIPS: Allow suspend and hibernation again on uniprocessor kernels.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Acked-by: Pavel Machek <pavel@ucw.cz>
---
 arch/mips/Kconfig |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index df1a92a..3ca0fe1 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -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"
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MIPS: Allow suspend and hibernation again on uniprocessor ke..., Linux Kernel Mailing List..., (Sat Jul 4, 1:59 pm)