Date: Mon, 19 Jun 2006 15:16:48 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99608 for review Message-ID: <200606191516.k5JFGmmt076362@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99608 Change 99608 by piso@piso_newluxor on 2006/06/19 15:15:53 Convert ia64 to use MI interrupt filter code, and while here mark frame parameter as unused: even if intr_filter_loop() accepts an optional trapframe parameter, it's not used in ia64 so try to avoid any future problems marking it as unused. Affected files ... .. //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#2 edit Differences ... ==== //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#2 (text+ko) ==== @@ -347,11 +347,10 @@ } void -ia64_dispatch_intr(void *frame, unsigned long vector) +ia64_dispatch_intr(void *frame __unused, unsigned long vector) { struct ia64_intr *i; struct intr_event *ie; /* our interrupt event */ - struct intr_handler *ih; int error, thread; /* @@ -380,15 +379,7 @@ */ thread = 0; critical_enter(); - TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) { - if (!(ih->ih_flags & IH_FAST)) { - thread = 1; - continue; - } - CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__, - ih->ih_handler, ih->ih_argument, ih->ih_name); - ih->ih_handler(ih->ih_argument); - } + thread = intr_filter_loop(ie, NULL); critical_exit(); if (thread) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606191516.k5JFGmmt076362>