]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: armada-370-xp: Rework per-cpu interrupts handling
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 25 Sep 2015 16:09:34 +0000 (18:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 18:51:40 +0000 (11:51 -0700)
commit8b72f0180360683ea32ff5a2ab1afc9e5fbed818
tree1c5dc1598f69e464263cacd54c10bc5c4b5322b5
parentba9cbf2cb051f6e80cd1f0b038f08718cdc22b22
irqchip: armada-370-xp: Rework per-cpu interrupts handling

The MPIC driver currently has a list of interrupts to handle as per-cpu.

Since the timer, fabric and neta interrupts were the only per-cpu
interrupts in the system, we can now remove the switch and just check for
the hardware irq number to determine whether a given interrupt is per-cpu
or not.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/irqchip/irq-armada-370-xp.c