Skip to content

Commit

Permalink
sh: Plug plat_smp_setup() in to generic setup path.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent ceb9b97 commit 0016a12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit 0016a12

Please sign in to comment.