9ca980dce5
On many platforms (including pSeries), smp_ops->message_pass is always smp_muxed_ipi_message_pass. This changes arch/powerpc/kernel/smp.c so that if smp_ops->message_pass is NULL, it calls smp_muxed_ipi_message_pass directly. This means that a platform doesn't need to set both .message_pass and .cause_ipi, only one of them. It is a slight performance improvement in that it gets rid of an indirect function call at the expense of a predictable conditional branch. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
call_hpt.h | ||
call_pci.h | ||
call_sm.h | ||
dt.c | ||
exception.S | ||
exception.h | ||
htab.c | ||
hvcall.S | ||
hvlog.c | ||
hvlpconfig.c | ||
iommu.c | ||
ipl_parms.h | ||
irq.c | ||
irq.h | ||
it_exp_vpd_panel.h | ||
it_lp_naca.h | ||
ksyms.c | ||
lpardata.c | ||
lpevents.c | ||
main_store.h | ||
mf.c | ||
misc.S | ||
naca.h | ||
pci.c | ||
pci.h | ||
proc.c | ||
processor_vpd.h | ||
release_data.h | ||
setup.c | ||
setup.h | ||
smp.c | ||
spcomm_area.h | ||
vio.c | ||
viopath.c | ||
vpd_areas.h |