aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-12-14 02:57:11 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-12-14 04:15:47 -0500
commit72f4d57923d2aa651db060a71a6f6211654c119e (patch)
tree11c20ab3f639c842b9b8d0ff46e03025780fe4b7 /arch/arm/mach-shmobile/include
parent4d7ec69576ca4427478405190bd32e560f06fe99 (diff)
ARM: mach-shmobile: sh73a0 SMP support
Add SMP support for ag5evm and the sh73a0 processor. Onlining and offlining works well, but at this point offlined processor cores are not put into sleep mode. There is no spinlock for syncing the secondary core with the first one in this implementation. The code instead relies on the cpu_online() check in __cpu_up(). Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/include')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 32822f7556ea..b8f1f62bce97 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -38,4 +38,9 @@ extern void sh73a0_pinmux_init(void);
38extern struct clk sh73a0_extal1_clk; 38extern struct clk sh73a0_extal1_clk;
39extern struct clk sh73a0_extal2_clk; 39extern struct clk sh73a0_extal2_clk;
40 40
41extern unsigned int sh73a0_get_core_count(void);
42extern void sh73a0_secondary_init(unsigned int cpu);
43extern int sh73a0_boot_secondary(unsigned int cpu);
44extern void sh73a0_smp_prepare_cpus(void);
45
41#endif /* __ARCH_MACH_COMMON_H */ 46#endif /* __ARCH_MACH_COMMON_H */