PERFORCE change 102142 for review

Paolo Pisati piso at FreeBSD.org
Sat Jul 22 12:37:51 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102142

Change 102142 by piso at piso_longino on 2006/07/22 12:37:38

	Use IF_FAST instead of checking for INTR_FAST in flags.

Affected files ...

.. //depot/projects/soc2006/intr_filter/kern/subr_bus.c#5 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/kern/subr_bus.c#5 (text+ko) ====

@@ -3446,11 +3446,11 @@
 		error = BUS_SETUP_INTR(dev->parent, dev, r, flags,
 		    filter, handler, arg, cookiep);
 		if (error == 0) {
-			if (!(flags & (INTR_MPSAFE | INTR_FAST)))
+			if (!IS_FAST(filter, handler) && !(flags & INTR_MPSAFE))
 				device_printf(dev, "[GIANT-LOCKED]\n");
 			if (bootverbose && (flags & INTR_MPSAFE))
 				device_printf(dev, "[MPSAFE]\n");
-			if (flags & INTR_FAST)
+			if (IS_FAST(filter, handler))
 				device_printf(dev, "[FAST]\n");
 		}
 	} else


More information about the p4-projects mailing list