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/board-urquell.c | |
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/board-urquell.c')
-rw-r--r-- | arch/sh/boards/board-urquell.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/boards/board-urquell.c b/arch/sh/boards/board-urquell.c index a9bd6e3ee10b..d81c609decc7 100644 --- a/arch/sh/boards/board-urquell.c +++ b/arch/sh/boards/board-urquell.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include <cpu/sh7786.h> | 24 | #include <cpu/sh7786.h> |
25 | #include <asm/heartbeat.h> | 25 | #include <asm/heartbeat.h> |
26 | #include <asm/sizes.h> | 26 | #include <asm/sizes.h> |
27 | #include <asm/smp-ops.h> | ||
27 | 28 | ||
28 | /* | 29 | /* |
29 | * bit 1234 5678 | 30 | * bit 1234 5678 |
@@ -203,6 +204,8 @@ static void __init urquell_setup(char **cmdline_p) | |||
203 | printk(KERN_INFO "Renesas Technology Corp. Urquell support.\n"); | 204 | printk(KERN_INFO "Renesas Technology Corp. Urquell support.\n"); |
204 | 205 | ||
205 | pm_power_off = urquell_power_off; | 206 | pm_power_off = urquell_power_off; |
207 | |||
208 | register_smp_ops(&shx3_smp_ops); | ||
206 | } | 209 | } |
207 | 210 | ||
208 | /* | 211 | /* |