projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb9b97
)
sh: Plug plat_smp_setup() in to generic setup path.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Sep 2007 09:39:49 +0000
(18:39 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 21 Sep 2007 09:39:49 +0000
(18:39 +0900)
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>
arch/sh/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index cd69b57488dd67b09401db421a7e79a2e16f1daf..b3027a6775b91106d8b5b61c85fb5ed0bbb8c5d1 100644
(file)
--- 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[] = {