From: Jeremy Fitzhardinge <jeremy@goop.org>
Date: Tue, 8 Jul 2008 22:07:08 +0000 (-0700)
Subject: suspend, xen: enable PM_SLEEP for CONFIG_XEN
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0775b3dbcb6d17b531b36df520ddab735647f3f7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

suspend, xen: enable PM_SLEEP for CONFIG_XEN

Xen save/restore requires PM_SLEEP to be set without requiring
SUSPEND or HIBERNATION.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---

diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index b45da40e8d25..1436c47cb39b 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -82,7 +82,7 @@ config PM_SLEEP_SMP
 
 config PM_SLEEP
 	bool
-	depends on SUSPEND || HIBERNATION
+	depends on SUSPEND || HIBERNATION || XEN
 	default y
 
 config SUSPEND