Browse Source

ARM: 8010/1: avoid tracers in soft_restart

Use of tracers in local_irq_disable is causes abort loops when called
with irqs disabled using a temporary stack.  Replace local_irq_disable
with raw_local_irq_disable instead to avoid tracers.

Signed-off-by: Sebastian Capella <sebastian.capella@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Sebastian Capella 11 years ago
parent
commit
c7d442f46c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/kernel/process.c

+ 1 - 1
arch/arm/kernel/process.c

@@ -100,7 +100,7 @@ void soft_restart(unsigned long addr)
 	u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack);
 	u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack);
 
 
 	/* Disable interrupts first */
 	/* Disable interrupts first */
-	local_irq_disable();
+	raw_local_irq_disable();
 	local_fiq_disable();
 	local_fiq_disable();
 
 
 	/* Disable the L2 if we're the last man standing. */
 	/* Disable the L2 if we're the last man standing. */