ia64/xen-unstable

changeset 11613:c81eb1ccdce5

[XEN] Support unconnected IRQ lines in pirq_acktype().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Sep 24 10:14:17 2006 +0100 (2006-09-24)
parents d17e0ffe47e8
children fd13d7150dd6 9e24cd7951ea
files xen/arch/x86/irq.c
line diff
     1.1 --- a/xen/arch/x86/irq.c	Sun Sep 24 10:07:18 2006 +0100
     1.2 +++ b/xen/arch/x86/irq.c	Sun Sep 24 10:14:17 2006 +0100
     1.3 @@ -351,6 +351,9 @@ int pirq_acktype(int irq)
     1.4  
     1.5      desc = &irq_desc[vector];
     1.6  
     1.7 +    if ( desc->handler == &no_irq_type )
     1.8 +        return ACKTYPE_NONE;
     1.9 +
    1.10      /*
    1.11       * Edge-triggered IO-APIC and LAPIC interrupts need no final
    1.12       * acknowledgement: we ACK early during interrupt processing.