Re: significance of __ARCH_IRQ_EXIT_IRQS_DISABLED

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

 



On 4/25/07, Rajat Jain <rajat.noida.india@xxxxxxxxx> wrote:
On 4/25/07, pradeep singh <2500.pradeep@xxxxxxxxx> wrote:
> Hi All,
>
> What is significance of __ARCH_IRQ_EXIT_IRQS_DISABLED macro?
>

Hi Pradeep,

This architecture specific macro if defined, means that the IRQs are
guaranteed to be disabled when irq_exit() function is called. In such
a case, the kernel may skip some instructions (disabling IRQs etc)
.... and thus call __do_IRQ() instead of do_IRQ.

Great, thanks a lot for the help Rajat :-).

~psr

Thanks,

Rajat

(PS: Though, I could not make out if there is any architecture that
could have IRQs enabled at the time irq_exit() is called).



--
play the game

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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux