|
@@ -586,6 +586,10 @@ acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt)
|
|
|
flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);
|
|
flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);
|
|
|
if (gpe_xrupt->previous) {
|
|
if (gpe_xrupt->previous) {
|
|
|
gpe_xrupt->previous->next = gpe_xrupt->next;
|
|
gpe_xrupt->previous->next = gpe_xrupt->next;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ /* No previous, update list head */
|
|
|
|
|
+
|
|
|
|
|
+ acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (gpe_xrupt->next) {
|
|
if (gpe_xrupt->next) {
|