Date: Wed, 1 Apr 2009 12:04:38 +0200 From: =?iso-8859-1?Q?Bj=F6rn?= JACKE <bj@SerNet.DE> To: Mister Olli <mister.olli@googlemail.com> Cc: freebsd-xen@freebsd.org, freebsd-current@freebsd.org Subject: Re: Compiling CURRENT with XEN config fails Message-ID: <E1LoxIb-005cL7-Ky@intern.SerNet.DE> In-Reply-To: <1238162602.24399.29.camel@phoenix.blechhirn.net> References: <1238162602.24399.29.camel@phoenix.blechhirn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LoxIb-005cL7-Ky>
