On 2009-03-27 at 15:03 +0100 Mister Olli sent off:
> /usr/src/sys/xen/evtchn/evtchn.c:516: error: conflicting types for 
> 'bind_virq_to_irqhandler'
> /usr/src/sys/xen/xen_intr.h:61: error: previous declaration of 
> 'bind_virq_to_irqhandler' was here
> /usr/src/sys/xen/evtchn/evtchn.c: In function 'bind_virq_to_irqhandler':
> /usr/src/sys/xen/evtchn/evtchn.c:523: error: 'arg' undeclared (first use in 
> this function)
> /usr/src/sys/xen/evtchn/evtchn.c:523: error: (Each undeclared identifier is 
> reported only once
> /usr/src/sys/xen/evtchn/evtchn.c:523: error: for each function it appears in.)
> *** Error code 1

the attached patch should fix this one. Can someone review that please?

Thanks
Björn
Index: xen/evtchn/evtchn.c
===================================================================
--- xen/evtchn/evtchn.c	(Revision 190598)
+++ xen/evtchn/evtchn.c	(Arbeitskopie)
@@ -512,7 +512,7 @@
 int 
 bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu,
     const char *devname, driver_filter_t filter, driver_intr_t handler,
-    unsigned long irqflags, unsigned int *irqp)
+    void *arg, unsigned long irqflags, unsigned int *irqp)
 {
 	unsigned int irq;
 	int error;
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to