summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorMagnus Damm2013-08-29 01:21:58 +0200
committerSimon Horman2013-09-30 10:55:53 +0200
commita112de8c7ae231f396e28160e84d0eab3a79dffc (patch)
tree176f0b32785a27bde8a27f683a95beedcf1f48ae /arch/arm/mach-shmobile/include/mach/common.h
parentARM: shmobile: Introduce shmobile_boot_size (diff)
downloadkernel-qcow2-linux-a112de8c7ae231f396e28160e84d0eab3a79dffc.tar.gz
kernel-qcow2-linux-a112de8c7ae231f396e28160e84d0eab3a79dffc.tar.xz
kernel-qcow2-linux-a112de8c7ae231f396e28160e84d0eab3a79dffc.zip
ARM: shmobile: Shared APMU SMP support code without DT
Introduce shared APMU SMP code for mach-shmobile. Both SMP boot up and CPU Hotplug is supported. This version does not use DT but if needed this will be added as an incremental feature patch. The code is designed around CONFIG_NR_CPUS and should in theory support any number of APMUs, however due to the current DT-less static design only a single APMU is supported. 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index cfe397716fd1..3460bb13c988 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -22,6 +22,12 @@ extern int shmobile_smp_scu_boot_secondary(unsigned int cpu,
struct task_struct *idle);
extern void shmobile_smp_scu_cpu_die(unsigned int cpu);
extern int shmobile_smp_scu_cpu_kill(unsigned int cpu);
+extern void shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus);
+extern int shmobile_smp_apmu_boot_secondary(unsigned int cpu,
+ struct task_struct *idle);
+extern void shmobile_smp_apmu_cpu_die(unsigned int cpu);
+extern int shmobile_smp_apmu_cpu_kill(unsigned int cpu);
+extern void shmobile_invalidate_start(void);
struct clk;
extern int shmobile_clk_init(void);
extern void shmobile_handle_irq_intc(struct pt_regs *);