summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2000-12-20 19:15:38 +0000
committeriwasaki <iwasaki@FreeBSD.org>2000-12-20 19:15:38 +0000
commite18ed82a61f4b4b473c529ad38000e36ead74d38 (patch)
tree59ff9101c1222031fc0b01c784542704a5b85fc8 /sys/dev/acpica
parent7dca4c5ee9359b12323f04b8755c9611f8f74901 (diff)
downloadFreeBSD-src-e18ed82a61f4b4b473c529ad38000e36ead74d38.zip
FreeBSD-src-e18ed82a61f4b4b473c529ad38000e36ead74d38.tar.gz
Add task priority definition for OSD_PRIORITY_GPE in AcpiOsQueueForExecution().
This is needed to next ACPICA import.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index 907a29d..42ef54d 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -73,6 +73,9 @@ AcpiOsQueueForExecution(UINT32 Priority, OSD_EXECUTION_CALLBACK Function, void *
at->at_task.ta_func = AcpiOsExecuteQueue;
at->at_task.ta_context = at;
switch (Priority) {
+ case OSD_PRIORITY_GPE:
+ at->at_task.ta_priority = 4;
+ break;
case OSD_PRIORITY_HIGH:
at->at_task.ta_priority = 3;
break;
OpenPOWER on IntegriCloud