Date: Fri, 9 Mar 2007 17:08:59 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 115616 for review Message-ID: <200703091708.l29H8xai094160@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=115616 Change 115616 by piso@piso_newluxor on 2007/03/09 17:08:38 Fix compilation for non-INTR_FILTER case. Affected files ... .. //depot/projects/soc2006/intr_filter/kern/kern_intr.c#39 edit Differences ... ==== //depot/projects/soc2006/intr_filter/kern/kern_intr.c#39 (text+ko) ==== @@ -893,8 +893,13 @@ if (!(ie->ie_flags & IE_SOFT)) return (EINVAL); } else { +#ifdef INTR_FILTER error = intr_event_create(&ie, NULL, IE_SOFT, NULL, NULL, NULL, "swi%d:", pri); +#else + error = intr_event_create(&ie, NULL, IE_SOFT, + NULL, "swi%d:", pri); +#endif if (error) return (error); if (eventp != NULL) @@ -927,7 +932,11 @@ if (!(flags & SWI_DELAY)) { PCPU_LAZY_INC(cnt.v_soft); +#ifdef INTR_FILTER error = intr_event_schedule_thread(ie, ie->ie_thread); +#else + error = intr_event_schedule_thread(ie); +#endif KASSERT(error == 0, ("stray software interrupt")); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703091708.l29H8xai094160>