summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/cpu/exceptions.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/exceptions.S b/arch/arm/cpu/exceptions.S
index af5d6df56a..4741bb8691 100644
--- a/arch/arm/cpu/exceptions.S
+++ b/arch/arm/cpu/exceptions.S
@@ -80,7 +80,7 @@ _STACK_START:
.endm
.macro get_bad_stack
- ldr r2, _STACK_START
+ ldr r13, _STACK_START
sub r13, r13, #(8) @ reserved a couple spots in abort stack
str lr, [r13] @ save caller lr / spsr