From: Paul Mundt Date: Fri, 21 Sep 2007 09:39:49 +0000 (+0900) Subject: sh: Plug plat_smp_setup() in to generic setup path. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0016a126accb32f1663eaeba966eb76c98f8929b;p=deliverable%2Flinux.git sh: Plug plat_smp_setup() in to generic setup path. Now that the SMP stubs are in place, call in to the setup code to be defined by the platform. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index cd69b57488dd..b3027a6775b9 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -278,6 +279,10 @@ void __init setup_arch(char **cmdline_p) sh_mv.mv_setup(cmdline_p); paging_init(); + +#ifdef CONFIG_SMP + plat_smp_setup(); +#endif } static const char *cpu_name[] = {