Question about interrupts

santhosh kumars karuna.linux at gmail.com
Fri Jul 29 06:01:10 EDT 2011


On Fri, Jul 29, 2011 at 3:16 PM, manish honap
<manish_honap_vit at yahoo.co.in> wrote:
> Hello all,
>
> When interrupts are handled through interrupt gate cpu automatically clears IF
> flag.
>
> but to allow nesting kernel sets the IF flag in handle_irq_event - for 2.6.11
>
> but in 2.6.39 how the interrupts are re-enabled so as to facilitate nesting of
> interrupts
> I am unable to find local_irq_enable in do_IRQ()
I think in handle_IRQ_event event again interrupts are enabled
if (!(action->flags & IRQF_DISABLED))
local_irq_enable_in_hardirq();

>
> Thanks in advance.
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



More information about the Kernelnewbies mailing list