|
@@ -1183,8 +1183,8 @@ void acpi_os_wait_events_complete(void)
|
|
* Make sure the GPE handler or the fixed event handler is not used
|
|
* Make sure the GPE handler or the fixed event handler is not used
|
|
* on another CPU after removal.
|
|
* on another CPU after removal.
|
|
*/
|
|
*/
|
|
- if (acpi_irq_handler)
|
|
|
|
- synchronize_hardirq(acpi_gbl_FADT.sci_interrupt);
|
|
|
|
|
|
+ if (acpi_sci_irq_valid())
|
|
|
|
+ synchronize_hardirq(acpi_sci_irq);
|
|
flush_workqueue(kacpid_wq);
|
|
flush_workqueue(kacpid_wq);
|
|
flush_workqueue(kacpi_notify_wq);
|
|
flush_workqueue(kacpi_notify_wq);
|
|
}
|
|
}
|