On 4/26/07, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
On Wed, 25 Apr 2007 16:38:53 +0530 Rajat Jain 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. > > 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). ./include/asm-arm/hardirq.h:#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 ./include/asm-blackfin/hardirq.h:#define __ARCH_IRQ_EXIT_IRQS_DISABLED 1
Thanks Randy ~psr
--- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
-- 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