summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2008-01-12 22:13:12 +0000
committerNate Lawson <njl@FreeBSD.org>2008-01-12 22:13:12 +0000
commit4c12fb675052ab0d59f6e52f520407f239d18303 (patch)
treee188b6bef0619537f8842d9f92dc715e6465befb
parent253d8468867b60f0779b6f060832f4d759747b52 (diff)
Notes
-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 6872ffa36627..48e4dfeeaf86 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;