projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cab0896
)
ACPI suspend: build fix for ACPI_SLEEP=n && XEN_SAVE_RESTORE=y.
author
Rafael J. Wysocki
<rjw@sisk.pl>
Thu, 23 Oct 2008 19:46:43 +0000
(21:46 +0200)
committer
Len Brown
<len.brown@intel.com>
Sat, 25 Oct 2008 08:07:13 +0000
(
04:07
-0400)
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/sleep/main.c
b/drivers/acpi/sleep/main.c
index
26571ba
..
80c0868
100644
(file)
--- a/
drivers/acpi/sleep/main.c
+++ b/
drivers/acpi/sleep/main.c
@@
-163,6
+163,8
@@
static void acpi_pm_end(void)
acpi_target_sleep_state = ACPI_STATE_S0;
acpi_sleep_tts_switch(acpi_target_sleep_state);
}
+#else /* !CONFIG_ACPI_SLEEP */
+#define acpi_target_sleep_state ACPI_STATE_S0
#endif /* CONFIG_ACPI_SLEEP */
#ifdef CONFIG_SUSPEND