diff -Bru linux-2.6.0-test8/drivers/acpi/events/evxfevnt.c patched/drivers/acpi/events/evxfevnt.c --- linux-2.6.0-test8/drivers/acpi/events/evxfevnt.c 2003-10-18 05:42:59.000000000 +0800 +++ patched/drivers/acpi/events/evxfevnt.c 2003-10-28 19:39:37.000000000 +0800 @@ -247,6 +247,12 @@ goto unlock_and_exit; } + /* Be sure to clear status before enable it*/ + status = acpi_hw_clear_gpe(gpe_event_info); + if (ACPI_FAILURE (status)) { + goto unlock_and_exit; + } + /* Enable the requested GPE number */ status = acpi_hw_enable_gpe (gpe_event_info);