diff options
author | Magnus Damm <damm@opensource.se> | 2013-07-31 03:07:49 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-08-06 05:07:25 -0400 |
commit | e7b1c96384181d690950530f5a64167965226744 (patch) | |
tree | 0e5a11ca08b9e0816fc95c09b0657764428efb73 /arch/arm/mach-shmobile/include/mach/common.h | |
parent | 0da60225dee270a4a4b86c08509e772e78961b82 (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.h | 2 |
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); | |||
14 | extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); | 14 | extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); |
15 | extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, | 15 | extern int shmobile_smp_scu_boot_secondary(unsigned int cpu, |
16 | struct task_struct *idle); | 16 | struct task_struct *idle); |
17 | extern void shmobile_smp_scu_cpu_die(unsigned int cpu); | ||
18 | extern int shmobile_smp_scu_cpu_kill(unsigned int cpu); | ||
17 | struct clk; | 19 | struct clk; |
18 | extern int shmobile_clk_init(void); | 20 | extern int shmobile_clk_init(void); |
19 | extern void shmobile_handle_irq_intc(struct pt_regs *); | 21 | extern void shmobile_handle_irq_intc(struct pt_regs *); |