On creation of irq_desc and irq_data.
mindentropy at gmail.com
Thu Jun 20 14:15:48 EDT 2013
> I am reading through mini2440 code. I am going through the init_irq
> code. In it (http://lxr.free-electrons.com/source/arch/arm/mach-s3c24xx/irq.c#L446)
> there is irq_domain_add_legacy(..) which references irq_desc and
> irq_data. I am not sure where these descriptors are created? In the
> irq_domain_add_legacy there is a lookup for irq_data from the number.
> Could someone tell where these descriptors are created?
I think it is statically created here
and the initialization happens in early_irq_init(..) here
Please correct me if I am wrong.
More information about the Kernelnewbies