summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/emev2.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2011-09-08 13:15:22 +0100
committerArnd Bergmann <arnd@arndb.de>2012-09-14 11:14:58 +0200
commita62580e58065dc00430b16ced6e7a00837b8323f (patch)
treed3ec9d533870478e86a2cb5f0fefc937fca7cbfc /arch/arm/mach-shmobile/include/mach/emev2.h
parent5ac21a943e4052ef6743b09b6a06fbb683a3519d (diff)
downloadblackbird-op-linux-a62580e58065dc00430b16ced6e7a00837b8323f.tar.gz
blackbird-op-linux-a62580e58065dc00430b16ced6e7a00837b8323f.zip
ARM: SoC: convert shmobile SMP to SMP operations
Convert shmobile SMP platforms to use struct smp_operations to provide their SMP and CPU hotplug operations. Cc: Paul Mundt <lethal@linux-sh.org> Cc: Magnus Damm <magnus.damm@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/emev2.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/emev2.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/emev2.h b/arch/arm/mach-shmobile/include/mach/emev2.h
index e6b0c1bf4b7e..ac3751705cab 100644
--- a/arch/arm/mach-shmobile/include/mach/emev2.h
+++ b/arch/arm/mach-shmobile/include/mach/emev2.h
@@ -7,13 +7,10 @@ extern void emev2_add_early_devices(void);
extern void emev2_add_standard_devices(void);
extern void emev2_clock_init(void);
extern void emev2_set_boot_vector(unsigned long value);
-extern unsigned int emev2_get_core_count(void);
-extern int emev2_platform_cpu_kill(unsigned int cpu);
-extern void emev2_secondary_init(unsigned int cpu);
-extern int emev2_boot_secondary(unsigned int cpu);
-extern void emev2_smp_prepare_cpus(void);
#define EMEV2_GPIO_BASE 200
#define EMEV2_GPIO_IRQ(n) (EMEV2_GPIO_BASE + (n))
+extern struct smp_operations emev2_smp_ops;
+
#endif /* __ASM_EMEV2_H__ */
OpenPOWER on IntegriCloud