[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared Interrupt handling.



Hi Greg,

>  Can someone explain how the kernel figures out which interrupt handler
>  to call when the interrupt line is shared.

It calles them all, until one says it handled the interrupt.


Doesn't the following code in handle_IRQ_event() suggest that ALL the interrupt handlers are called, IRRESPECTIVE of the return value?

       do {
               ret = action->handler(irq, action->dev_id);
               if (ret == IRQ_HANDLED)
                       status |= action->flags;
               retval |= ret;
               action = action->next;
       } while (action);

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ