summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-rw-r--r--sys/kern/subr_autoconf.c2
-rw-r--r--sys/sys/priority.h5
2 files changed, 3 insertions, 4 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++;
diff --git a/sys/sys/priority.h b/sys/sys/priority.h
index 9bbd2de..e05bd4d 100644
--- a/sys/sys/priority.h
+++ b/sys/sys/priority.h
@@ -105,9 +105,8 @@
#define PZERO (PRI_MIN_KERN + 20)
#define PSOCK (PRI_MIN_KERN + 24)
#define PWAIT (PRI_MIN_KERN + 28)
-#define PCONFIG (PRI_MIN_KERN + 32)
-#define PLOCK (PRI_MIN_KERN + 36)
-#define PPAUSE (PRI_MIN_KERN + 40)
+#define PLOCK (PRI_MIN_KERN + 32)
+#define PPAUSE (PRI_MIN_KERN + 36)
#define PRI_MIN_REALTIME (128)
#define PRI_MAX_REALTIME (PRI_MIN_TIMESHARE - 1)
OpenPOWER on IntegriCloud