diff options
Diffstat (limited to 'arch/sh/boards/mach-x3proto/setup.c')
-rw-r--r-- | arch/sh/boards/mach-x3proto/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-x3proto/setup.c b/arch/sh/boards/mach-x3proto/setup.c index e284592fd42..102bf56befb 100644 --- a/arch/sh/boards/mach-x3proto/setup.c +++ b/arch/sh/boards/mach-x3proto/setup.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/usb/r8a66597.h> | 19 | #include <linux/usb/r8a66597.h> |
20 | #include <linux/usb/m66592.h> | 20 | #include <linux/usb/m66592.h> |
21 | #include <asm/ilsel.h> | 21 | #include <asm/ilsel.h> |
22 | #include <asm/smp-ops.h> | ||
22 | 23 | ||
23 | static struct resource heartbeat_resources[] = { | 24 | static struct resource heartbeat_resources[] = { |
24 | [0] = { | 25 | [0] = { |
@@ -152,7 +153,13 @@ static void __init x3proto_init_irq(void) | |||
152 | __raw_writel(__raw_readl(0xfe410000) | (1 << 21), 0xfe410000); | 153 | __raw_writel(__raw_readl(0xfe410000) | (1 << 21), 0xfe410000); |
153 | } | 154 | } |
154 | 155 | ||
156 | static void __init x3proto_setup(char **cmdline_p) | ||
157 | { | ||
158 | register_smp_ops(&shx3_smp_ops); | ||
159 | } | ||
160 | |||
155 | static struct sh_machine_vector mv_x3proto __initmv = { | 161 | static struct sh_machine_vector mv_x3proto __initmv = { |
156 | .mv_name = "x3proto", | 162 | .mv_name = "x3proto", |
163 | .mv_setup = x3proto_setup, | ||
157 | .mv_init_irq = x3proto_init_irq, | 164 | .mv_init_irq = x3proto_init_irq, |
158 | }; | 165 | }; |