aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2012-06-12 06:16:27 -0400
committerArnd Bergmann <arnd@arndb.de>2012-09-14 05:15:01 -0400
commit28e8e29c616f947348cc66bea684d0035c76021a (patch)
treee60188267452962f522f5c94ca77546257c8466a /arch/arm/kernel/smp.c
parentac6c7998712d55bd15aa2dd5ae85f5988c0cb526 (diff)
ARM: consolidate pen_release instead of having per platform definitions
Almost each SMP platform defines pen_release to manage booting secondary CPUs. This of course clashes with the single zImage effort. Add the pen_release definition to the ARM SMP code, and remove all others. This should only be used by platforms which lack any kind of CPU power management... Reported-by: Arnd Bergmann <arnd@arndb.de> 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/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index ac3ce029afb8..aa4ffe6e5ecf 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -51,6 +51,12 @@
51 */ 51 */
52struct secondary_data secondary_data; 52struct secondary_data secondary_data;
53 53
54/*
55 * control for which core is the next to come out of the secondary
56 * boot "holding pen"
57 */
58volatile int __cpuinitdata pen_release = -1;
59
54enum ipi_msg_type { 60enum ipi_msg_type {
55 IPI_TIMER = 2, 61 IPI_TIMER = 2,
56 IPI_RESCHEDULE, 62 IPI_RESCHEDULE,