]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: irq-armada-370-xp: Do the set_smp_cross_call() in the driver
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 13:54:01 +0000 (15:54 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 8 May 2014 14:41:49 +0000 (14:41 +0000)
commitfde023a6e1399efdd5b4a0ff7284df67076112f9
tree8e771442b31bdbd3a82cd81bbda02d886df16ba3
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
irqchip: irq-armada-370-xp: Do the set_smp_cross_call() in the driver

Instead of having the SoC code in arch/arm/mach-mvebu/platsmp.c do the
set_smp_cross_call() to register the IPI-triggering function, it makes
more sense to do exactly what the GIC driver is doing: let the irqchip
driver do it. This way, it avoids having to expose the
armada_mpic_send_doorbell() function between the irqchip driver and
the SoC code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397483648-26611-5-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/armada-370-xp.h
arch/arm/mach-mvebu/platsmp.c
drivers/irqchip/irq-armada-370-xp.c