Date: Fri, 21 Apr 2006 02:01:07 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95744 for review Message-ID: <200604210201.k3L217el066680@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95744 Change 95744 by marcel@marcel_nfs on 2006/04/21 02:00:10 o Include <sys/mutex.h> o Set port->p_giantintr when both INTR_FAST and INTR_MPSAFE are unset. Affected files ... .. //depot/projects/uart/dev/puc/puc.c#32 edit Differences ... ==== //depot/projects/uart/dev/puc/puc.c#32 (text+ko) ==== @@ -33,6 +33,7 @@ #include <sys/bus.h> #include <sys/conf.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <machine/bus.h> #include <machine/resource.h> @@ -582,7 +583,7 @@ port->p_hasintr = 1; port->p_fastintr = (flags & INTR_FAST) ? 1 : 0; - port->p_giantintr = (flags & INTR_MPSAFE) ? 0 : 1; + port->p_giantintr = (flags & (INTR_FAST | INTR_MPSAFE)) ? 0 : 1; port->p_ih = ihand; port->p_iharg = arg;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604210201.k3L217el066680>