[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Add local-APIC-edge to list of PIC types supported by pirq_acktype()
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID d17e0ffe47e8af0530e5436cae3d24ca0af94d67 # Parent ba7487569374378b398a1b134ea108a6a8209b4b [XEN] Add local-APIC-edge to list of PIC types supported by pirq_acktype() function. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/irq.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff -r ba7487569374 -r d17e0ffe47e8 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Sat Sep 23 16:23:11 2006 +0100 +++ b/xen/arch/x86/irq.c Sun Sep 24 10:07:18 2006 +0100 @@ -352,10 +352,11 @@ int pirq_acktype(int irq) desc = &irq_desc[vector]; /* - * Edge-triggered IO-APIC interrupts need no final acknowledgement: - * we ACK early during interrupt processing. + * Edge-triggered IO-APIC and LAPIC interrupts need no final + * acknowledgement: we ACK early during interrupt processing. */ - if ( !strcmp(desc->handler->typename, "IO-APIC-edge") ) + if ( !strcmp(desc->handler->typename, "IO-APIC-edge") || + !strcmp(desc->handler->typename, "local-APIC-edge") ) return ACKTYPE_NONE; /* @@ -376,7 +377,9 @@ int pirq_acktype(int irq) return ACKTYPE_NONE; /* edge-triggered => no final EOI */ } + printk("Unknown PIC type '%s' for IRQ %d\n", desc->handler->typename, irq); BUG(); + return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |