Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2006 16:01:14 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 105182 for review
Message-ID:  <200608271601.k7RG1EPj055652@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105182

Change 105182 by piso@piso_newluxor on 2006/08/27 16:00:42

	error is checked only after an ithread was scheduled. 

Affected files ...

.. //depot/projects/soc2006/intr_filter/powerpc/powerpc/intr_machdep.c#11 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/powerpc/powerpc/intr_machdep.c#11 (text+ko) ====

@@ -276,11 +276,11 @@
 
 	// XXX eoi & mask intr not verified.
 	/* Schedule a heavyweight interrupt process. */
-	if (thread & FILTER_SCHEDULE_THREAD)
+	if (thread & FILTER_SCHEDULE_THREAD) {
 		error = intr_event_schedule_thread(ie);
-
-	if (error == EINVAL)
-		intr_stray_handler(ppc_ih);
+		if (error == EINVAL)
+			intr_stray_handler(ppc_ih);
+	}
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608271601.k7RG1EPj055652>