OpenCloudOS-Kernel/arch/powerpc/platforms/wsp
Paul Mackerras 9ca980dce5 powerpc: Avoid extra indirect function call in sending IPIs
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>
2011-06-20 11:21:32 +10:00
..
Kconfig powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
Makefile powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
ics.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
ics.h powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
opb_pic.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
psr2.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
scom_smp.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
scom_wsp.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
setup.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
smp.c powerpc: Avoid extra indirect function call in sending IPIs 2011-06-20 11:21:32 +10:00
wsp.h powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00