Fix thinko in acpi

Pavel Machek (pavel@ucw.cz)
Wed, 9 Jul 2003 00:34:44 +0200


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/