Re: Doubt in interrupts

From: Brian Gerst (bgerst@didntduck.org)
Date: Mon Jul 02 2001 - 13:20:34 EST


Swami wrote:
>
> Hi,
>
> Are there any interrupts which doesn't affect local_irq_count(cpu) or that
> doesn't enter do_IRQ()? (other than NMIs).
>
> Because I'm implementing my own locking routine and I'm getting
> interrupted during spin, but I check and found that in_interupt() returns
> zero.

All hardware interrupts go through do_IRQ. There are also CPU
exceptions and inter-processor interupts (SMP only) that have individual
handlers.

--

Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:10 EST