Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 19:55:48 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107839 for review
Message-ID:  <200610131955.k9DJtm9j000806@repoman.freebsd.org>

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

Change 107839 by piso@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);
 	}



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