Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

smp, hexagon: kill SMP single function call interrupt

Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic
similar to smp_call_function_single()" has unified the way to handle
single and multiple cross-CPU function calls. Now only one intterupt
is needed for architecture specific code to support generic SMP function
call interfaces, so kill the redundant single function call interrupt.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Shaohua Li <shli@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: linux-hexagon@vger.kernel.org
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>

authored by

Jiang Liu and committed by
Richard Kuo
bd09f606 5e78a264

+1 -6
-1
arch/hexagon/include/asm/smp.h
··· 29 29 IPI_NOP = 0, 30 30 IPI_RESCHEDULE = 1, 31 31 IPI_CALL_FUNC, 32 - IPI_CALL_FUNC_SINGLE, 33 32 IPI_CPU_STOP, 34 33 IPI_TIMER, 35 34 };
+1 -5
arch/hexagon/kernel/smp.c
··· 64 64 generic_smp_call_function_interrupt(); 65 65 break; 66 66 67 - case IPI_CALL_FUNC_SINGLE: 68 - generic_smp_call_function_single_interrupt(); 69 - break; 70 - 71 67 case IPI_CPU_STOP: 72 68 /* 73 69 * call vmstop() ··· 244 248 245 249 void arch_send_call_function_single_ipi(int cpu) 246 250 { 247 - send_ipi(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE); 251 + send_ipi(cpumask_of(cpu), IPI_CALL_FUNC); 248 252 } 249 253 250 254 void arch_send_call_function_ipi_mask(const struct cpumask *mask)