IRQ #0 broken on ARM

Robert Jarzmik robert.jarzmik at free.fr
Sat Nov 22 04:18:27 PST 2014


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.

I'll sent a proper patch next time, not an attached piece of code.

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list