Fix thinko in acpi
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/linux/drivers/acpi/sleep/main.c renamed from usr/src/tmp/linux/drivers/acpi/sleep/main.c +1 -1
@@ -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);
Signature · 2 lines
When do you have a heart between your knees? [Johanka's followup: and *two* hearts?]