Re: Fw: Question about interrupts

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

 



Hi,

On Sat, Jul 30, 2011 at 3:52 AM, santhosh kumars <karuna.linux@xxxxxxxxx> wrote:
> On Fri, Jul 29, 2011 at 3:56 PM, manish honap
> <manish_honap_vit@xxxxxxxxxxx> wrote:
>> Well 2.6.39 seems to have changed and the flow as I understand for interrupt
>> processing is
>> do_IRQ -> irq_enter -> handle_irq -> ...
>>
>> but in above flow i cant find local_irq_enable anywhere; is there some different
>> trick used to enable the interrupts ?
> yes in 2.6.34 i am able to find do_IRQ and handle_IRQ_event(), defined in
> kernel/irq/handler.c but with 2.6.39 its moved some where .Can any one
> please help me on this
> where this logic is moved.

You can use LXR to search for stuff (it's a fully cross referenced
index into the kernel code):
http://lxr.linux.no/linux

>From this, I searched for do_IRQ against kernel version 2.6.39 and it
appears to have been made architecture specific rather than being
generic.

Some architectures, like ARM, have an asm_do_IRQ rather than do_IRQ.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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