• Vineet Gupta's avatar
    ARC: [SMP] cpumask not needed in IPI send path · ddf84433
    Vineet Gupta authored
    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: default avatarVineet Gupta <vgupta@synopsys.com>
    ddf84433
smp.h 3.79 KB