Date: Mon, 19 Jun 2006 15:02:29 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99606 for review Message-ID: <200606191502.k5JF2TuZ074479@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99606 Change 99606 by piso@piso_newluxor on 2006/06/19 15:01:50 Convert sparc64 to use MI interrupt filter code too. Affected files ... .. //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#3 edit Differences ... ==== //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#3 (text+ko) ==== @@ -235,7 +235,6 @@ { struct intr_vector *iv; struct intr_event *ie; - struct intr_handler *ih; int error = 0, thread; iv = cookie; @@ -246,17 +245,7 @@ } /* Execute fast interrupt handlers directly. */ - thread = 0; - TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) { - if (!(ih->ih_flags & IH_FAST)) { - thread = 1; - continue; - } - MPASS(ih->ih_flags & IH_FAST && ih->ih_argument != NULL); - 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); /* Schedule a heavyweight interrupt process. */ if (thread)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606191502.k5JF2TuZ074479>