提交 0016a126 编写于 作者: P Paul Mundt

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: NPaul Mundt <lethal@linux-sh.org>
上级 ceb9b974
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/kexec.h> #include <linux/kexec.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/smp.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/page.h> #include <asm/page.h>
...@@ -278,6 +279,10 @@ void __init setup_arch(char **cmdline_p) ...@@ -278,6 +279,10 @@ void __init setup_arch(char **cmdline_p)
sh_mv.mv_setup(cmdline_p); sh_mv.mv_setup(cmdline_p);
paging_init(); paging_init();
#ifdef CONFIG_SMP
plat_smp_setup();
#endif
} }
static const char *cpu_name[] = { static const char *cpu_name[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册