• Andrew Morton's avatar
    [PATCH] Fail setup_irq for unconfigured IRQs · 55f26259
    Andrew Morton authored
    From: Zwane Mwaikambo <zwane@holomorphy.com>
    
    This patch makes us bail out in case we may have an interrupt which couldn't
    be associated with an interrupt controller.  Without this we allow
    unconfigured interrupts to be assigned and then later on we get "unexpected
    IRQ trap at vector xx" during the ack phase.
    
    scenario: This can occur if we fail irq setup during setup_IO_APIC_irqs for
    some reason or other and then miss getting assigned a vector.  Later on we
    then get assigned no_irq_type as our handler.
    
    Patch for i386 and x86_64
    55f26259
irq.c 23.3 KB