]> git.karo-electronics.de Git - karo-tx-linux.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, 24 Apr 2014 05:41:52 +0000 (05:41 +0000)
commit5ccd459a3ad8511b2583731b67bd31487d998317
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