summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt2007-09-21 11:39:49 +0200
committerPaul Mundt2007-09-21 11:39:49 +0200
commit0016a126accb32f1663eaeba966eb76c98f8929b (patch)
tree0f3a6ef304456a33f19bbf3636ccb79375569b95 /arch/sh
parentsh: Hook up the SH-X3 SMP intc register groups. (diff)
downloadkernel-qcow2-linux-0016a126accb32f1663eaeba966eb76c98f8929b.tar.gz
kernel-qcow2-linux-0016a126accb32f1663eaeba966eb76c98f8929b.tar.xz
kernel-qcow2-linux-0016a126accb32f1663eaeba966eb76c98f8929b.zip
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
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 <linux/mm.h>
#include <linux/kexec.h>
#include <linux/module.h>
+#include <linux/smp.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/page.h>
@@ -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[] = {