PERFORCE change 99608 for review
Paolo Pisati
piso at FreeBSD.org
Mon Jun 19 15:17:02 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=99608
Change 99608 by piso at 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) {
More information about the p4-projects
mailing list