Date: Thu, 20 Jul 2006 15:30:03 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 102000 for review Message-ID: <200607201530.k6KFU38t012900@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102000 Change 102000 by piso@piso_newluxor on 2006/07/20 15:29:26 Use a macro to test for different kind of handlers. Affected files ... .. //depot/projects/soc2006/intr_filter/sys/interrupt.h#5 edit Differences ... ==== //depot/projects/soc2006/intr_filter/sys/interrupt.h#5 (text+ko) ==== @@ -54,6 +54,8 @@ u_char ih_pri; /* Priority of this handler. */ }; +#define IS_FAST(filter, handler) (filter != NULL && handler == NULL) + /* Interrupt handle flags kept in ih_flags */ #define IH_EXCLUSIVE 0x00000002 /* Exclusive interrupt. */ #define IH_ENTROPY 0x00000004 /* Device is a good entropy source. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607201530.k6KFU38t012900>