Date: Mon, 19 Jun 2006 15:06:35 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99607 for review Message-ID: <200606191506.k5JF6ZKs075909@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99607 Change 99607 by piso@piso_newluxor on 2006/06/19 15:06:22 Convert powerpc to use MI interrupt filter code. Affected files ... .. //depot/projects/soc2006/intr_filter/powerpc/powerpc/intr_machdep.c#3 edit Differences ... ==== //depot/projects/soc2006/intr_filter/powerpc/powerpc/intr_machdep.c#3 (text+ko) ==== @@ -224,7 +224,6 @@ { struct ppc_intr_handler *ppc_ih = &intr_handlers[irq]; struct intr_event *ie = ppc_ih->ih_event; - struct intr_handler *ih; int error, thread; if (ie == NULL) { @@ -237,15 +236,7 @@ critical_enter(); /* Execute fast interrupt handlers directly. */ thread = 0; - TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) { - if (!(ih->ih_flags & IH_FAST)) { - thread = 1; - continue; - } - CTR3(KTR_INTR, "%s: executing handler %p(%p)", __func__, - ih->ih_handler, ih->ih_argument); - ih->ih_handler(ih->ih_argument); - } + thread = intr_filter_loop(ie, NULL); critical_exit(); /* Schedule a heavyweight interrupt process. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606191506.k5JF6ZKs075909>