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