|
@@ -1073,6 +1073,7 @@ static int ghes_remove(struct platform_device *ghes_dev)
|
|
|
if (list_empty(&ghes_sci))
|
|
if (list_empty(&ghes_sci))
|
|
|
unregister_acpi_hed_notifier(&ghes_notifier_sci);
|
|
unregister_acpi_hed_notifier(&ghes_notifier_sci);
|
|
|
mutex_unlock(&ghes_list_mutex);
|
|
mutex_unlock(&ghes_list_mutex);
|
|
|
|
|
+ synchronize_rcu();
|
|
|
break;
|
|
break;
|
|
|
case ACPI_HEST_NOTIFY_NMI:
|
|
case ACPI_HEST_NOTIFY_NMI:
|
|
|
ghes_nmi_remove(ghes);
|
|
ghes_nmi_remove(ghes);
|