irqchip/armada-370-xp: Iterate only valid bits of the per-CPU interrupt cause register
Use MPIC_PER_CPU_IRQS_NR (29) bound instead of BITS_PER_LONG (32) when iterating the bits of the per-CPU interrupt cause register, since there are only 29 per-CPU interrupts. The top 3 bits are always zero anyway. Signed-off-by:Marek Behún <kabel@kernel.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Loading
Please sign in to comment