aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/platsmp.c
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-04-14 15:54:01 +0200
committerGravatar Jason Cooper <jason@lakedaemon.net> 2014-05-08 14:41:49 +0000
commitef37d337e1d37bd84ccaa5811a8d1f00f8b3677c (patch)
tree8e771442b31bdbd3a82cd81bbda02d886df16ba3 /arch/arm/mach-mvebu/platsmp.c
parentLinux 3.15-rc1 (diff)
downloadlinux-ef37d337e1d37bd84ccaa5811a8d1f00f8b3677c.tar.gz
linux-ef37d337e1d37bd84ccaa5811a8d1f00f8b3677c.tar.bz2
linux-ef37d337e1d37bd84ccaa5811a8d1f00f8b3677c.zip
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>
Diffstat (limited to 'arch/arm/mach-mvebu/platsmp.c')
-rw-r--r--arch/arm/mach-mvebu/platsmp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mvebu/platsmp.c
index a6da03f5b24e..6f06f6ddb51e 100644
--- a/arch/arm/mach-mvebu/platsmp.c
+++ b/arch/arm/mach-mvebu/platsmp.c
@@ -90,8 +90,6 @@ static void __init armada_xp_smp_init_cpus(void)
if (ncores == 0 || ncores > ARMADA_XP_MAX_CPUS)
panic("Invalid number of CPUs in DT\n");
-
- set_smp_cross_call(armada_mpic_send_doorbell);
}
static void __init armada_xp_smp_prepare_cpus(unsigned int max_cpus)