sparc32: refactor smp boot
authorSam Ravnborg <sam@ravnborg.org>
Fri, 15 Feb 2013 14:52:06 +0000 (15:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2013 21:36:50 +0000 (13:36 -0800)
commitf9fd3488f6a3c2c5cc8613e4fd7fbbaa57f6bf8f
treedfc2f084424f34f257dcca83d495bf216dcdfd2b
parent76968ad2eac6456270353de168b21f04f4b3d1d3
sparc32: refactor smp boot

Introduce a common smp_callin() function to call
from trampoline_32.S.
Add platform specific functions to handle the
platform details.

This is in preparation for a patch that will
unify the smp boot stuff for all architectures.
sparc32 was significantly different to warrant
this patch in preparation.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kernel.h
arch/sparc/kernel/leon_smp.c
arch/sparc/kernel/smp_32.c
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_smp.c
arch/sparc/kernel/trampoline_32.S