summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_autoconf.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-06 22:09:37 +0000
committerjhb <jhb@FreeBSD.org>2011-01-06 22:09:37 +0000
commita01b1931011406544d31f1736593d077f36df9bd (patch)
tree50310d165227106343f46876073056fef2628c0a /sys/kern/subr_autoconf.c
parentb80745da98e50e465f6eb1d88cf8964816504536 (diff)
downloadFreeBSD-src-a01b1931011406544d31f1736593d077f36df9bd.zip
FreeBSD-src-a01b1931011406544d31f1736593d077f36df9bd.tar.gz
Retire PCONFIG and leave the priority of thread0 alone when waiting for
interrupt config hooks to execute.
Diffstat (limited to 'sys/kern/subr_autoconf.c')
-rw-r--r--sys/kern/subr_autoconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index bad5e33..6384056 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -135,7 +135,7 @@ boot_run_interrupt_driven_config_hooks(void *dummy)
warned = 0;
while (!TAILQ_EMPTY(&intr_config_hook_list)) {
if (msleep(&intr_config_hook_list, &intr_config_hook_lock,
- PCONFIG, "conifhk", WARNING_INTERVAL_SECS * hz) ==
+ 0, "conifhk", WARNING_INTERVAL_SECS * hz) ==
EWOULDBLOCK) {
mtx_unlock(&intr_config_hook_lock);
warned++;
OpenPOWER on IntegriCloud