summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-03-30 19:22:45 +0000
committerscottl <scottl@FreeBSD.org>2006-03-30 19:22:45 +0000
commit19c7a1894198c99124d609f45f5c4fb3e5262143 (patch)
tree4ec71bc57b283a4aae607be7646127e1f07360a3
parent17b93d79f6279c53f5b86032a17d2eddacc1fc2d (diff)
downloadFreeBSD-src-19c7a1894198c99124d609f45f5c4fb3e5262143.zip
FreeBSD-src-19c7a1894198c99124d609f45f5c4fb3e5262143.tar.gz
Revert to using acpi_max_threads instead of the hardcoded value of '3'.
-rw-r--r--sys/dev/acpica/Osd/OsdSchedule.c3
1 files changed, 2 insertions, 1 deletions
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
OpenPOWER on IntegriCloud