aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/smp.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2011-09-27 09:48:23 -0400
committerArnd Bergmann <arnd@arndb.de>2012-09-14 05:15:01 -0400
commitac6c7998712d55bd15aa2dd5ae85f5988c0cb526 (patch)
tree4701fee21c526e5aefc46fb1ba48e81383086ace /arch/arm/include/asm/smp.h
parent2d8b21d95f44989e09fd9b36ca9f061ad5bc567e (diff)
ARM: smp: Make SMP operations mandatory
Now that all SMP platforms have been converted to use struct smp_operations, remove the "weak" attribute from the hooks in smp.c, and make the functions static wherever possible. 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/include/asm/smp.h')
-rw-r--r--arch/arm/include/asm/smp.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h
index f79a9f51e32..3a8cfee26c9 100644
--- a/arch/arm/include/asm/smp.h
+++ b/arch/arm/include/asm/smp.h
@@ -60,15 +60,6 @@ extern int boot_secondary(unsigned int cpu, struct task_struct *);
60 */ 60 */
61asmlinkage void secondary_start_kernel(void); 61asmlinkage void secondary_start_kernel(void);
62 62
63/*
64 * Perform platform specific initialisation of the specified CPU.
65 */
66extern void platform_secondary_init(unsigned int cpu);
67
68/*
69 * Initialize cpu_possible map, and enable coherency
70 */
71extern void platform_smp_prepare_cpus(unsigned int);
72 63
73/* 64/*
74 * Initial data for bringing up a secondary CPU. 65 * Initial data for bringing up a secondary CPU.
@@ -81,15 +72,10 @@ struct secondary_data {
81extern struct secondary_data secondary_data; 72extern struct secondary_data secondary_data;
82 73
83extern int __cpu_disable(void); 74extern int __cpu_disable(void);
84extern int platform_cpu_disable(unsigned int cpu);
85 75
86extern void __cpu_die(unsigned int cpu); 76extern void __cpu_die(unsigned int cpu);
87extern void cpu_die(void); 77extern void cpu_die(void);
88 78
89extern void platform_cpu_die(unsigned int cpu);
90extern int platform_cpu_kill(unsigned int cpu);
91extern void platform_cpu_enable(unsigned int cpu);
92
93extern void arch_send_call_function_single_ipi(int cpu); 79extern void arch_send_call_function_single_ipi(int cpu);
94extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); 80extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
95 81