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