Initialize the ACPI "safe" power state to C1.
PATCH 1/1 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 <[email protected]>
xen/arch/x86/acpi/cpu_idle.c +1 -0
@@ -442,6 +442,7 @@ 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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel