IRQ #0 broken on ARM

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sat Nov 22 04:40:13 PST 2014


2014-11-22 15:18 GMT+03:00 Robert Jarzmik <robert.jarzmik at free.fr>:
> Rob Herring <robherring2 at gmail.com> writes:
>
>>>  #ifdef CONFIG_PXA_HAVE_ISA_IRQS
>>
>> You can get rid of this ifdef and kconfig symbol. It is only used here.
> Right.
>
>>> -#define PXA_IRQ(x)     (PXA_ISA_IRQ_NUM + (x))
>>> +#define PXA_IRQ(x)     (16 + (x))
>>
>> Perhaps use NR_IRQS_LEGACY here.
> Ah yes, good idea.

What about using NUM_ISA_INTERRUPTS? This would be logical
if viper & zeus were converted to call irq_domain_add_legacy_isa.

-- 
With best wishes
Dmitry



More information about the linux-arm-kernel mailing list