summaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-eznps
diff options
context:
space:
mode:
authorNoam Camus <noamca@mellanox.com>2016-11-08 11:58:23 +0200
committerVineet Gupta <vgupta@synopsys.com>2016-11-08 09:25:18 -0800
commit66619433d0fdf3e7d9f573993217b0d2cc3044fa (patch)
tree5adbe8fe590f42a5378315a7638790483e2f400e /arch/arc/plat-eznps
parent76a08404742e6da79f1e5002ac39033dc79d94da (diff)
downloadlinux-66619433d0fdf3e7d9f573993217b0d2cc3044fa.tar.gz
linux-66619433d0fdf3e7d9f573993217b0d2cc3044fa.tar.bz2
linux-66619433d0fdf3e7d9f573993217b0d2cc3044fa.zip
ARC: [plat-eznps] remove IPI clear from SMP operations
Today we register to plat_smp_ops.clear() method which actually is acking the IPI. However this is already taking care by our irqchip driver specifically by the irq_chip.irq_eoi() method. This is perfect timing where it should be done and no special handling is needed at plat_smp_ops.clear(). Signed-off-by: Noam Camus <noamca@mellanox.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-eznps')
-rw-r--r--arch/arc/plat-eznps/smp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arc/plat-eznps/smp.c b/arch/arc/plat-eznps/smp.c
index 5e901f86e4bd..56a4c8522f11 100644
--- a/arch/arc/plat-eznps/smp.c
+++ b/arch/arc/plat-eznps/smp.c
@@ -140,16 +140,10 @@ static void eznps_init_per_cpu(int cpu)
mtm_enable_core(cpu);
}
-static void eznps_ipi_clear(int irq)
-{
- write_aux_reg(CTOP_AUX_IACK, 1 << irq);
-}
-
struct plat_smp_ops plat_smp_ops = {
.info = smp_cpuinfo_buf,
.init_early_smp = eznps_init_cpumasks,
.cpu_kick = eznps_smp_wakeup_cpu,
.ipi_send = eznps_ipi_send,
.init_per_cpu = eznps_init_per_cpu,
- .ipi_clear = eznps_ipi_clear,
};