summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorGary King <gking@nvidia.com>2009-12-08 10:42:40 -0800
committerGary King <gking@nvidia.com>2009-12-08 13:53:09 -0800
commit0b2f03c867adc457819c9433eacc57db469e7db9 (patch)
treed2d4a3d77de284b45d4cee2f6243f701c456b10a /arch/arm/kernel
parent9044d18f56010ded3c0ec396aa2b630b6a9920b2 (diff)
ARM SMP: call cpu_relax before taking a CPU offline
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index d08d01c07756..420c23461567 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -465,6 +465,7 @@ static void ipi_cpu_stop(unsigned int cpu)
dump_stack();
spin_unlock(&stop_lock);
+ cpu_relax();
cpu_clear(cpu, cpu_online_map);
local_fiq_disable();