From 19c7a1894198c99124d609f45f5c4fb3e5262143 Mon Sep 17 00:00:00 2001 From: scottl Date: Thu, 30 Mar 2006 19:22:45 +0000 Subject: Revert to using acpi_max_threads instead of the hardcoded value of '3'. --- sys/dev/acpica/Osd/OsdSchedule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c index 1e8aeca..5d77027 100644 --- a/sys/dev/acpica/Osd/OsdSchedule.c +++ b/sys/dev/acpica/Osd/OsdSchedule.c @@ -66,7 +66,8 @@ struct acpi_task_ctx { }; TASKQUEUE_DEFINE(acpi, taskqueue_thread_enqueue, &taskqueue_acpi, - taskqueue_start_threads(&taskqueue_acpi, 3, PWAIT, "acpi_task")); + taskqueue_start_threads(&taskqueue_acpi, acpi_max_threads, PWAIT, + "acpi_task")); /* * Bounce through this wrapper function since ACPI-CA doesn't understand -- cgit v1.1