|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Initialize the ACPI "safe" power sta
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248795256 -3600
# Node ID 49ea12238cf9a71a8783064f61bd9c23982081c0
# Parent 38dd208e1d958d7710278dcbb43e4236c2e504aa
x86: Initialize the ACPI "safe" power state to C1.
Initialize the ACPI "safe" power state to C1. This avoids a null
dereference on BIOS tables which define C3 but not C2 or C1.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
xen/arch/x86/acpi/cpu_idle.c | 1 +
1 files changed, 1 insertion(+)
diff -r 38dd208e1d95 -r 49ea12238cf9 xen/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c Tue Jul 28 16:33:46 2009 +0100
+++ b/xen/arch/x86/acpi/cpu_idle.c Tue Jul 28 16:34:16 2009 +0100
@@ -442,6 +442,7 @@ static int init_cx_pminfo(struct acpi_pr
acpi_power->states[ACPI_STATE_C1].valid = 1;
acpi_power->count = 2;
+ acpi_power->safe_state = &acpi_power->states[ACPI_STATE_C1];
return 0;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Initialize the ACPI "safe" power state to C1.,
Xen patchbot-unstable <=
|
|
|
|
|