• Andrew Morton's avatar
    [PATCH] protect 'action' in show_interrupts · ac84c974
    Andrew Morton authored
    Patch from Zwane Mwaikambo <zwane@linuxpower.ca>
    
    On SMP or preemptible kernels, every instance of show_interrupts() is oopsily
    racy wrt request_irq() and free_irq().
    
    Fix that up by taking the irq_desc_t's lock while walking the action list.
    ac84c974
old-irq.c 9.5 KB