summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-10-26 18:46:48 +0000
committerjhb <jhb@FreeBSD.org>2001-10-26 18:46:48 +0000
commit39b22ee16556aa5e491d4a88fd0f020f3cc5a963 (patch)
tree1cb183e25fc74879d8354cf488e60e59eb570fb4 /sys/dev/acpica/Osd
parentde855cd62618249bccc361160895e1506935c3b8 (diff)
downloadFreeBSD-src-39b22ee16556aa5e491d4a88fd0f020f3cc5a963.zip
FreeBSD-src-39b22ee16556aa5e491d4a88fd0f020f3cc5a963.tar.gz
- Change the taskqueue locking to protect the necessary parts of a task
while it is on a queue with the queue lock and remove the per-task locks. - Remove TASK_DESTROY now that it is no longer needed. - Go back to inlining TASK_INIT now that it is short again. Inspired by: dfr
Diffstat (limited to 'sys/dev/acpica/Osd')
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index 6dcc521..8a952df 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -113,7 +113,6 @@ AcpiOsExecuteQueue(void *arg, int pending)
Function = (OSD_EXECUTION_CALLBACK)at->at_function;
Context = at->at_context;
- TASK_DESTROY(at);
free(at, M_ACPITASK);
Function(Context);
OpenPOWER on IntegriCloud