Skip to content

Commit

Permalink
ARM: 8010/1: avoid tracers in soft_restart
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Capella authored and Russell King committed Apr 7, 2014
1 parent 95c52fe commit c7d442f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void soft_restart(unsigned long addr)
u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack);

/* Disable interrupts first */
local_irq_disable();
raw_local_irq_disable();
local_fiq_disable();

/* Disable the L2 if we're the last man standing. */
Expand Down

0 comments on commit c7d442f

Please sign in to comment.