ia64/xen-unstable

changeset 11612:d17e0ffe47e8

[XEN] Add local-APIC-edge to list of PIC types supported by pirq_acktype()
function.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Sep 24 10:07:18 2006 +0100 (2006-09-24)
parents ba7487569374
children c81eb1ccdce5
files xen/arch/x86/irq.c
line diff
     1.1 --- a/xen/arch/x86/irq.c	Sat Sep 23 16:23:11 2006 +0100
     1.2 +++ b/xen/arch/x86/irq.c	Sun Sep 24 10:07:18 2006 +0100
     1.3 @@ -352,10 +352,11 @@ int pirq_acktype(int irq)
     1.4      desc = &irq_desc[vector];
     1.5  
     1.6      /*
     1.7 -     * Edge-triggered IO-APIC interrupts need no final acknowledgement:
     1.8 -     * we ACK early during interrupt processing.
     1.9 +     * Edge-triggered IO-APIC and LAPIC interrupts need no final
    1.10 +     * acknowledgement: we ACK early during interrupt processing.
    1.11       */
    1.12 -    if ( !strcmp(desc->handler->typename, "IO-APIC-edge") )
    1.13 +    if ( !strcmp(desc->handler->typename, "IO-APIC-edge") ||
    1.14 +         !strcmp(desc->handler->typename, "local-APIC-edge") )
    1.15          return ACKTYPE_NONE;
    1.16  
    1.17      /*
    1.18 @@ -376,7 +377,9 @@ int pirq_acktype(int irq)
    1.19          return ACKTYPE_NONE; /* edge-triggered => no final EOI */
    1.20      }
    1.21  
    1.22 +    printk("Unknown PIC type '%s' for IRQ %d\n", desc->handler->typename, irq);
    1.23      BUG();
    1.24 +
    1.25      return 0;
    1.26  }
    1.27