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:
David E. O'Brien 2004-03-22 22:36:11 +00:00
parent cdfd991b87
commit f1c8692d0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127319

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