PERFORCE change 107839 for review

Paolo Pisati piso at FreeBSD.org
Fri Oct 13 12:55:50 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=107839

Change 107839 by piso at piso_newluxor on 2006/10/13 19:55:36

	Fixes compilation on sparc64.

Affected files ...

.. //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#10 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#10 (text+ko) ====

@@ -68,7 +68,9 @@
 #include <sys/errno.h>
 #include <sys/interrupt.h>
 #include <sys/ktr.h>
+#include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/limits.h>
 #include <sys/mutex.h>
 #include <sys/pcpu.h>
 #include <sys/proc.h>
@@ -241,7 +243,7 @@
 
 	for (; i<IV_MAX; ) {
 		int j = i++;
-		iv = intr_vectors[j];
+		iv = &intr_vectors[j];
 		if (iv != NULL && iv->iv_event != NULL)
 			return (iv->iv_event);
 	}


More information about the p4-projects mailing list