diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-11-25 14:37:14 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-12-23 12:05:04 +0530 |
commit | ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899 (patch) | |
tree | 6dab9bddf9d3b1abeffe72ce42ac33ba0d409f6d /arch/arc/include | |
parent | ddf84433f411b612e935a6719ee395bb9dd2221f (diff) | |
download | op-kernel-dev-ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899.zip op-kernel-dev-ccdaa6e0c86d8f48bf87439e4d6942b7a3e58899.tar.gz |
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/include')
-rw-r--r-- | arch/arc/include/asm/smp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/smp.h b/arch/arc/include/asm/smp.h index 9b40e3b..5d06eee 100644 --- a/arch/arc/include/asm/smp.h +++ b/arch/arc/include/asm/smp.h @@ -47,13 +47,13 @@ extern int smp_ipi_irq_setup(int cpu, int irq); * @info: SoC SMP specific info for /proc/cpuinfo etc * @cpu_kick: For Master to kickstart a cpu (optionally at a PC) * @ipi_send: To send IPI to a @cpu - * @ips_clear: To clear IPI received by @cpu at @irq + * @ips_clear: To clear IPI received at @irq */ struct plat_smp_ops { const char *info; void (*cpu_kick)(int cpu, unsigned long pc); void (*ipi_send)(int cpu); - void (*ipi_clear)(int cpu, int irq); + void (*ipi_clear)(int irq); }; /* TBD: stop exporting it for direct population by platform */ |