applied to acpi-test -- -Len Brown Intel Open Source Technology Center On Wed, 12 Nov 2008, Zhang Rui wrote: > > Set the waking vectors in all FACS tables > in acpi_gbl_root_table_list. > > Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx> > --- > drivers/acpi/hardware/hwsleep.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > Index: linux-2.6/drivers/acpi/hardware/hwsleep.c > =================================================================== > --- linux-2.6.orig/drivers/acpi/hardware/hwsleep.c 2008-11-13 04:29:35.000000000 +0800 > +++ linux-2.6/drivers/acpi/hardware/hwsleep.c 2008-11-13 04:29:43.000000000 +0800 > @@ -90,6 +90,16 @@ > > facs->firmware_waking_vector = (u32)physical_address; > > + status = acpi_get_table(ACPI_SIG_FACS, 2, > + ACPI_CAST_INDIRECT_PTR(struct acpi_table_header, &facs)); > + if (ACPI_FAILURE(status)) > + return_ACPI_STATUS(AE_OK); > + > + if (facs->version >= 1) > + facs->xfirmware_waking_vector = 0; > + > + facs->firmware_waking_vector = (u32)physical_address; > + > return_ACPI_STATUS(AE_OK); > } > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html