diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-03-29 23:38:01 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-04-20 23:23:25 -0400 |
commit | 3366e3585fbf0d40ce6f2382b544851cf4df1654 (patch) | |
tree | 2d0e01291d103d28bdb67afffb816fa1d7023fbb /arch/sh/boards/mach-sdk7786 | |
parent | 4a6feab0ee5240c4bd5378d9f8a46b85718c68a7 (diff) |
sh: Move platform smp ops in to their own structure.
This cribs the MIPS plat_smp_ops approach for wrapping up the platform
ops. This will allow for mixing and matching different ops on the same
platform in the future.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-sdk7786')
-rw-r--r-- | arch/sh/boards/mach-sdk7786/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-sdk7786/setup.c b/arch/sh/boards/mach-sdk7786/setup.c index 0c057a93fe29..2ec1ea5cf8ef 100644 --- a/arch/sh/boards/mach-sdk7786/setup.c +++ b/arch/sh/boards/mach-sdk7786/setup.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <asm/heartbeat.h> | 21 | #include <asm/heartbeat.h> |
22 | #include <asm/sizes.h> | 22 | #include <asm/sizes.h> |
23 | #include <asm/reboot.h> | 23 | #include <asm/reboot.h> |
24 | #include <asm/smp-ops.h> | ||
24 | 25 | ||
25 | static struct resource heartbeat_resource = { | 26 | static struct resource heartbeat_resource = { |
26 | .start = 0x07fff8b0, | 27 | .start = 0x07fff8b0, |
@@ -189,6 +190,8 @@ static void __init sdk7786_setup(char **cmdline_p) | |||
189 | 190 | ||
190 | machine_ops.restart = sdk7786_restart; | 191 | machine_ops.restart = sdk7786_restart; |
191 | pm_power_off = sdk7786_power_off; | 192 | pm_power_off = sdk7786_power_off; |
193 | |||
194 | register_smp_ops(&shx3_smp_ops); | ||
192 | } | 195 | } |
193 | 196 | ||
194 | /* | 197 | /* |