PERFORCE change 107837 for review
Paolo Pisati
piso at FreeBSD.org
Fri Oct 13 11:53:30 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107837
Change 107837 by piso at 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");
}
More information about the p4-projects
mailing list