aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-31 03:07:49 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-08-06 05:07:25 -0400
commite7b1c96384181d690950530f5a64167965226744 (patch)
tree0e5a11ca08b9e0816fc95c09b0657764428efb73 /arch/arm/mach-shmobile/include/mach/common.h
parent0da60225dee270a4a4b86c08509e772e78961b82 (diff)
ARM: shmobile: Add shared SCU CPU Hotplug code
Add CPU Hotplug functions for SCU equipped mach-shmobile SoCs. The functions shmobile_smp_scu_cpu_die() together with shmobile_smp_scu_cpu_kill() perform basic shutdown and allows checking of shutdown status. These are written to work together with SMP boot code in headsmp-scu.S. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 42761f4fb171..04209d5c0338 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -14,6 +14,8 @@ extern void shmobile_boot_scu(void);
14extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); 14extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus);
15extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, 15extern int shmobile_smp_scu_boot_secondary(unsigned int cpu,
16 struct task_struct *idle); 16 struct task_struct *idle);
17extern void shmobile_smp_scu_cpu_die(unsigned int cpu);
18extern int shmobile_smp_scu_cpu_kill(unsigned int cpu);
17struct clk; 19struct clk;
18extern int shmobile_clk_init(void); 20extern int shmobile_clk_init(void);
19extern void shmobile_handle_irq_intc(struct pt_regs *); 21extern void shmobile_handle_irq_intc(struct pt_regs *);