aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 1d6f5ea522f4..facd4240ca02 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -62,12 +62,6 @@
62 */ 62 */
63struct secondary_data secondary_data; 63struct secondary_data secondary_data;
64 64
65/*
66 * control for which core is the next to come out of the secondary
67 * boot "holding pen"
68 */
69volatile int pen_release = -1;
70
71enum ipi_msg_type { 65enum ipi_msg_type {
72 IPI_WAKEUP, 66 IPI_WAKEUP,
73 IPI_TIMER, 67 IPI_TIMER,
@@ -604,8 +598,10 @@ static void ipi_cpu_stop(unsigned int cpu)
604 local_fiq_disable(); 598 local_fiq_disable();
605 local_irq_disable(); 599 local_irq_disable();
606 600
607 while (1) 601 while (1) {
608 cpu_relax(); 602 cpu_relax();
603 wfe();
604 }
609} 605}
610 606
611static DEFINE_PER_CPU(struct completion *, cpu_completion); 607static DEFINE_PER_CPU(struct completion *, cpu_completion);