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.
This commit is contained in:
obrien 2004-03-22 22:36:11 +00:00
parent 4eac8b9f7d
commit 71b6e14bc8

View File

@ -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");