diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2007-09-21 05:39:49 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-21 05:39:49 -0400 |
| commit | 0016a126accb32f1663eaeba966eb76c98f8929b (patch) | |
| tree | 0f3a6ef304456a33f19bbf3636ccb79375569b95 /arch/sh/kernel | |
| parent | ceb9b974513de6bd0ee86c30e84c34dd6e974fb5 (diff) | |
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/kernel')
| -rw-r--r-- | arch/sh/kernel/setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index cd69b57488..b3027a6775 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <linux/mm.h> | 22 | #include <linux/mm.h> |
| 23 | #include <linux/kexec.h> | 23 | #include <linux/kexec.h> |
| 24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
| 25 | #include <linux/smp.h> | ||
| 25 | #include <asm/uaccess.h> | 26 | #include <asm/uaccess.h> |
| 26 | #include <asm/io.h> | 27 | #include <asm/io.h> |
| 27 | #include <asm/page.h> | 28 | #include <asm/page.h> |
| @@ -278,6 +279,10 @@ void __init setup_arch(char **cmdline_p) | |||
| 278 | sh_mv.mv_setup(cmdline_p); | 279 | sh_mv.mv_setup(cmdline_p); |
| 279 | 280 | ||
| 280 | paging_init(); | 281 | paging_init(); |
| 282 | |||
| 283 | #ifdef CONFIG_SMP | ||
| 284 | plat_smp_setup(); | ||
| 285 | #endif | ||
| 281 | } | 286 | } |
| 282 | 287 | ||
| 283 | static const char *cpu_name[] = { | 288 | static const char *cpu_name[] = { |
