summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-20 17:40:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-02-20 18:24:36 +0100
commita03d8b82df0dccb1a269feaad75df2bacf3f39a7 (patch)
tree77c5a95d996f51c01c543c7ae9d38b00e34b3254 /arch/arm
parented53035acbba3470937b018c0928e5ed27aa5f05 (diff)
downloadbarebox-a03d8b82df0dccb1a269feaad75df2bacf3f39a7.tar.gz
barebox-a03d8b82df0dccb1a269feaad75df2bacf3f39a7.tar.xz
Fix Exception handling
Uh, oh, some copy paste bug which existed for nearly 2 years now Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-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