[RFC PATCH v2] preliminary support for sparse IRQ

Eric Miao eric.y.miao at gmail.com
Thu May 20 05:25:12 EDT 2010


On Thu, May 20, 2010 at 5:21 PM, Will Deacon <will.deacon at arm.com> wrote:
> Hi Eric,
>
>> +#ifdef CONFIG_SPARSE_IRQ
>> +int __init arch_probe_nr_irqs(void)
>> +{
>> +     nr_irqs = arch_nr_irqs ? arch_nr_irqs : NR_IRQS;
>> +     return 0;
>> +}
>> +#endif
>
> Possibly a daft question, but if CONFIG_SPARSE_IRQ is
> not set, where does nr_irqs get assigned to?
>
> Other than that, looks good to me.
>

It's defined as NR_IRQS then.



More information about the linux-arm-kernel mailing list