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)
commitef37d337e1d37bd84ccaa5811a8d1f00f8b3677c
tree8e771442b31bdbd3a82cd81bbda02d886df16ba3
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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