Fix thinko in acpi

From: Pavel Machek (pavel@ucw.cz)
Date: Tue Jul 08 2003 - 17:34:44 EST


Hi!

It probably is fixed in ACPI patches somewhere, but it surprises me it
is not yet in Linus' kernel. Please apply,
                                                                Pavel

--- /usr/src/tmp/linux/drivers/acpi/sleep/main.c 2003-07-09 00:21:15.000000000 +0200
+++ /usr/src/linux/drivers/acpi/sleep/main.c 2003-07-09 00:13:14.000000000 +0200
@@ -244,7 +245,7 @@
         /* do we have a wakeup address for S2 and S3? */
         /* Here, we support only S4BIOS, those we set the wakeup address */
         /* S4OS is only supported for now via swsusp.. */
- if (state == ACPI_STATE_S2 || state == ACPI_STATE_S3 || ACPI_STATE_S4) {
+ if (state == ACPI_STATE_S2 || state == ACPI_STATE_S3 || state == ACPI_STATE_S4) {
                 if (!acpi_wakeup_address)
                         return AE_ERROR;
                 acpi_set_firmware_waking_vector((acpi_physical_address) acpi_wakeup_address);

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:29 EST