summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index 6872ffa..48e4dfe 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -106,6 +106,13 @@ AcpiOsExecute(ACPI_EXECUTE_TYPE Type, ACPI_OSD_EXEC_CALLBACK Function,
at->at_context = Context;
switch (Type) {
case OSL_GPE_HANDLER:
+ case OSL_NOTIFY_HANDLER:
+ /*
+ * Run GPEs and Notifies at the same priority. This allows
+ * Notifies that are generated by running a GPE's method (e.g., _L00)
+ * to not be pre-empted by a later GPE that arrives during the
+ * Notify handler execution.
+ */
pri = 10;
break;
case OSL_GLOBAL_LOCK_HANDLER:
@@ -113,9 +120,6 @@ AcpiOsExecute(ACPI_EXECUTE_TYPE Type, ACPI_OSD_EXEC_CALLBACK Function,
case OSL_EC_BURST_HANDLER:
pri = 5;
break;
- case OSL_NOTIFY_HANDLER:
- pri = 3;
- break;
case OSL_DEBUGGER_THREAD:
pri = 0;
break;
OpenPOWER on IntegriCloud