diff options
author | Jiang Liu <liuj97@gmail.com> | 2013-12-15 11:36:25 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-05-26 13:01:46 -0400 |
commit | 614aab527b3d48f481854c215251471407473599 (patch) | |
tree | bbbba08a4e4cb20b5c5576d4df4904af88bc57ca /arch/alpha | |
parent | ae6d78d78a20c351164d371e94b2aadc54536b40 (diff) |
smp, alpha: 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 interrupt
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 Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Matt Turner <mattst88@gmail.com>
Cc: linux-alpha@vger.kernel.org
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/smp.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 99ac36d5de4e..2f24447fef92 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
@@ -63,7 +63,6 @@ static struct { | |||
63 | enum ipi_message_type { | 63 | enum ipi_message_type { |
64 | IPI_RESCHEDULE, | 64 | IPI_RESCHEDULE, |
65 | IPI_CALL_FUNC, | 65 | IPI_CALL_FUNC, |
66 | IPI_CALL_FUNC_SINGLE, | ||
67 | IPI_CPU_STOP, | 66 | IPI_CPU_STOP, |
68 | }; | 67 | }; |
69 | 68 | ||
@@ -506,7 +505,6 @@ setup_profiling_timer(unsigned int multiplier) | |||
506 | return -EINVAL; | 505 | return -EINVAL; |
507 | } | 506 | } |
508 | 507 | ||
509 | |||
510 | static void | 508 | static void |
511 | send_ipi_message(const struct cpumask *to_whom, enum ipi_message_type operation) | 509 | send_ipi_message(const struct cpumask *to_whom, enum ipi_message_type operation) |
512 | { | 510 | { |
@@ -552,10 +550,6 @@ handle_ipi(struct pt_regs *regs) | |||
552 | generic_smp_call_function_interrupt(); | 550 | generic_smp_call_function_interrupt(); |
553 | break; | 551 | break; |
554 | 552 | ||
555 | case IPI_CALL_FUNC_SINGLE: | ||
556 | generic_smp_call_function_single_interrupt(); | ||
557 | break; | ||
558 | |||
559 | case IPI_CPU_STOP: | 553 | case IPI_CPU_STOP: |
560 | halt(); | 554 | halt(); |
561 | 555 | ||
@@ -606,7 +600,7 @@ void arch_send_call_function_ipi_mask(const struct cpumask *mask) | |||
606 | 600 | ||
607 | void arch_send_call_function_single_ipi(int cpu) | 601 | void arch_send_call_function_single_ipi(int cpu) |
608 | { | 602 | { |
609 | send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE); | 603 | send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC); |
610 | } | 604 | } |
611 | 605 | ||
612 | static void | 606 | static void |