···105105 default:106106 return -EINVAL;107107 }108108+109109+ /* ACPI 3.0 specs (P62) says that it's the responsabilty110110+ * of the OSPM to clear the status bit [ implying that the111111+ * POWER_BUTTON event should not reach userspace ]112112+ */113113+ if (ACPI_SUCCESS(status) && (acpi_state == ACPI_STATE_S3))114114+ acpi_clear_event(ACPI_EVENT_POWER_BUTTON);115115+108116 local_irq_restore(flags);109117 printk(KERN_DEBUG "Back to C!\n");110118