Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 12:37:50 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102142 for review
Message-ID:  <200607221237.k6MCbo45033572@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102142

Change 102142 by piso@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607221237.k6MCbo45033572>