IRQ: fix ia64 build for 21530:0383662ea34c
PATCH 1/1 IRQ: fix ia64 build for 21530:0383662ea34c
Hi,
This patch is for xen-4.0-testing.
On ia64, 21530:0383662ea34c introduces the following error:
irq.c:129: warning: initialization from incompatible pointer type irq.c: In function '__do_IRQ':
irq.c:159: error: too few arguments to function 'desc->handler->end' irq.c:223: error: too few arguments to function 'desc->handler->end' irq.c: In function 'pirq_guest_eoi':
irq.c:450: error: too few arguments to function 'desc->handler->end' irq.c: In function 'pirq_guest_unbind':
irq.c:579: error: too few arguments to function 'desc->handler->end'
This patch is a part of xen-unstable 24145:967845cb565b.
Signature · 1 line
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1332486111 -32400
# Node ID 79efd987e0c95d7bf81b8c818a77a53c72850d35 # Parent c41ab909f08eef8ecf9cfa975e991a767695aed8
IRQ: fix ia64 build for 21530:0383662ea34c
On ia64, 21530:0383662ea34c introduces the following error:
irq.c:129: warning: initialization from incompatible pointer type irq.c: In function '__do_IRQ':
irq.c:159: error: too few arguments to function 'desc->handler->end' irq.c:223: error: too few arguments to function 'desc->handler->end' irq.c: In function 'pirq_guest_eoi':
irq.c:450: error: too few arguments to function 'desc->handler->end' irq.c: In function 'pirq_guest_unbind':
irq.c:579: error: too few arguments to function 'desc->handler->end'
This patch is a part of xen-unstable 24145:967845cb565b.
xen/include/xen/irq.h +4 -0
@@ -43,7 +43,11 @@ struct hw_interrupt_type {void (*enable)(unsigned int irq);void (*disable)(unsigned int irq);void (*ack)(unsigned int irq); +#ifdef CONFIG_X86 void (*end)(unsigned int irq,u8 vector); +#else +void (*end)(struct irq_desc *); +#endif void (*set_affinity)(unsigned int irq,cpumask_t mask); };
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel