]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 5 Dec 2013 05:57:54 +0000 (11:27 +0530)
commitd818e3f2695bbe53f0c7b567746e219b84398bb9
tree203967ce4d258c142e2dd55121ca100ba1bf6331
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
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