Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 18:53:29 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107837 for review
Message-ID:  <200610131853.k9DIrTgg086907@repoman.freebsd.org>

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

Change 107837 by piso@piso_newluxor on 2006/10/13 18:52:28

	Fixes compilation of ia64 and pc98.

Affected files ...

.. //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#8 edit
.. //depot/projects/soc2006/intr_filter/pc98/cbus/clock.c#6 edit
.. //depot/projects/soc2006/intr_filter/pc98/cbus/sio.c#6 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/ia64/ia64/interrupt.c#8 (text+ko) ====

@@ -43,6 +43,7 @@
 #include <sys/proc.h>
 #include <sys/vmmeter.h>
 #include <sys/bus.h>
+#include <sys/limits.h>
 #include <sys/malloc.h>
 #include <sys/ktr.h>
 #include <sys/lock.h>

==== //depot/projects/soc2006/intr_filter/pc98/cbus/clock.c#6 (text+ko) ====

@@ -704,7 +704,7 @@
 	 * timecounter to user a simpler algorithm.
 	 */
 	if (!using_lapic_timer) {
-		intr_add_handler("clk", 0, clkintr, NULL, NULL,
+		intr_add_handler("clk", 0, (driver_filter_t *)clkintr, NULL, NULL,
 		    INTR_TYPE_CLK, NULL);
 		i8254_intsrc = intr_lookup_source(0);
 		if (i8254_intsrc != NULL)

==== //depot/projects/soc2006/intr_filter/pc98/cbus/sio.c#6 (text+ko) ====

@@ -1745,7 +1745,7 @@
 		if (ret) {
 			ret = bus_setup_intr(dev,
 					     com->irqres, INTR_TYPE_TTY,
-					     NULL, siointr, com, &com->cookie);
+					     NULL, (driver_intr_t *)siointr, com, &com->cookie);
 			if (ret == 0)
 				device_printf(dev, "unable to activate interrupt in fast mode - using normal mode\n");
 		}



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