ARC: [SMP] cpumask not needed in IPI send path
authorVineet Gupta <vgupta@synopsys.com>
Mon, 25 Nov 2013 07:29:03 +0000 (12:59 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 23 Dec 2013 06:35:04 +0000 (12:05 +0530)
commitddf84433f411b612e935a6719ee395bb9dd2221f
treed9dab0c2b2b6aa73e1959149e21baf38031dc7ff
parent413541dd66d51f791a0b169d9b9014e4f56be13c
ARC: [SMP] cpumask not needed in IPI send path

The current IPI sending callstack needlessly involves cpumask.

   arch_send_call_function_single_ipi(cpu) / smp_send_reschedule(cpu)
      ipi_send_msg(cpumask_of(cpu)) --> [cpu to cpumask]
         plat_smp_ops.ipi_send(callmap)
            for_each_cpu(callmap) --> [cpuask to cpu]
               do_plat_specific_ipi_PER_CPU

Given that current backends are not capable of 1:N IPIs, lets simplify
the interface for now, by keeping "a" cpu all along.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/smp.h
arch/arc/kernel/smp.c
arch/arc/plat-arcfpga/smp.c