diff options
author | Sebastian Capella <sebastian.capella@linaro.org> | 2014-03-24 20:18:35 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-07 07:10:00 -0400 |
commit | c7d442f46c1bb18e48204f41c3d838c475eb5130 (patch) | |
tree | 92e90ade6b214cc499c756b4176a769ff4cb7b49 /arch | |
parent | 95c52fe063351192e0f4ffb70ef9bac1aa26f5a4 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 92f7b15dd221..f58b723bec00 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -100,7 +100,7 @@ void soft_restart(unsigned long addr) | |||
100 | u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack); | 100 | u64 *stack = soft_restart_stack + ARRAY_SIZE(soft_restart_stack); |
101 | 101 | ||
102 | /* Disable interrupts first */ | 102 | /* Disable interrupts first */ |
103 | local_irq_disable(); | 103 | raw_local_irq_disable(); |
104 | local_fiq_disable(); | 104 | local_fiq_disable(); |
105 | 105 | ||
106 | /* Disable the L2 if we're the last man standing. */ | 106 | /* Disable the L2 if we're the last man standing. */ |