summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-03-22 22:36:11 +0000
committerobrien <obrien@FreeBSD.org>2004-03-22 22:36:11 +0000
commit71b6e14bc8762efe416c002d0cb20d759756937b (patch)
treecb0d3bcaef52a8cb7b70967d9cfca01e5b47c7af
parent4eac8b9f7d7e89157eb37ae020f6546fdb5fac78 (diff)
downloadFreeBSD-src-71b6e14bc8762efe416c002d0cb20d759756937b.zip
FreeBSD-src-71b6e14bc8762efe416c002d0cb20d759756937b.tar.gz
Rather than display which interrupts are MPSAFE, display those that aren't.
This way we can take stock of the work to be done. boot -v will note those interrupts that are MPSAFE.
-rw-r--r--sys/kern/subr_bus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index c54b1b8..70300998 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -2148,7 +2148,9 @@ bus_setup_intr(device_t dev, struct resource *r, int flags,
error = BUS_SETUP_INTR(dev->parent, dev, r, flags,
handler, arg, cookiep);
if (error == 0) {
- if (flags & INTR_MPSAFE)
+ if (!(flags & INTR_MPSAFE))
+ device_printf(dev, "[NOT!MPSAFE]\n");
+ if (bootverbose && flags & INTR_MPSAFE)
device_printf(dev, "[MPSAFE]\n");
if (flags & INTR_FAST)
device_printf(dev, "[FAST]\n");
OpenPOWER on IntegriCloud