mirror of https://gitee.com/openkylin/linux.git
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 | ||
corenet_ds.c | ||
corenet_ds.h | ||
ksi8560.c | ||
mpc85xx_ads.c | ||
mpc85xx_cds.c | ||
mpc85xx_ds.c | ||
mpc85xx_mds.c | ||
mpc85xx_rdb.c | ||
mpc8536_ds.c | ||
p1022_ds.c | ||
p3041_ds.c | ||
p4080_ds.c | ||
p5020_ds.c | ||
sbc8548.c | ||
sbc8560.c | ||
smp.c | ||
socrates.c | ||
socrates_fpga_pic.c | ||
socrates_fpga_pic.h | ||
stx_gp3.c | ||
tqm85xx.c | ||
xes_mpc85xx.c |