summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorVineet Gupta2013-11-25 10:07:14 +0100
committerVineet Gupta2013-12-23 07:35:04 +0100
commitccdaa6e0c86d8f48bf87439e4d6942b7a3e58899 (patch)
tree6dab9bddf9d3b1abeffe72ce42ac33ba0d409f6d /arch/arc/kernel
parentARC: [SMP] cpumask not needed in IPI send path (diff)
downloadkernel-qcow2-linux-ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899.tar.gz
kernel-qcow2-linux-ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899.tar.xz
kernel-qcow2-linux-ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899.zip
ARC: [SMP] IPI ACK interface doesn't need "self" cpu-id
The interface is confusing, it feels like we are getting "sender" info, whereas it is the "receiver", which can very well be retrived by smp_processor_id(), if need be. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index f2fdef964045..9f771b5d66c6 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -310,7 +310,7 @@ irqreturn_t do_IPI(int irq, void *dev_id)
unsigned long ops;
if (plat_smp_ops.ipi_clear)
- plat_smp_ops.ipi_clear(cpu, irq);
+ plat_smp_ops.ipi_clear(irq);
/*
* XXX: is this loop really needed