summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-31 16:07:12 +0900
committerSimon Horman <horms+renesas@verge.net.au>2013-08-06 18:07:24 +0900
commitc970d4ef3ac6d56f5fd02902ad2ad80377c0bca1 (patch)
treee65617739137b1a044c214afcff595a07a88737e /arch/arm/mach-shmobile/include/mach/common.h
parent8b3e32c1fe5dce55e28e76b20361841dc863ec17 (diff)
ARM: shmobile: Introduce shared SCU SMP boot code
Add SMP boot functions for SCU equipped mach-shmobile SoCs. At this point shmobile_smp_scu_prepare_cpus() controls the SCU and installs boot fn and arg, while shmobile_smp_scu_boot_secondary() currently does nothing. In the future the boot function and arg install code will be reworked, so the empty function is ground work for that. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/common.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index e818f029d8e3..42761f4fb171 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -11,6 +11,9 @@ extern void shmobile_boot_vector(void);
extern unsigned long shmobile_boot_fn;
extern unsigned long shmobile_boot_arg;
extern void shmobile_boot_scu(void);
+extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus);
+extern int shmobile_smp_scu_boot_secondary(unsigned int cpu,
+ struct task_struct *idle);
struct clk;
extern int shmobile_clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *);