summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/startup.s
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lpc17xx/startup.s')
-rw-r--r--arch/arm/lpc17xx/startup.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s
index 7537531..e7c5311 100644
--- a/arch/arm/lpc17xx/startup.s
+++ b/arch/arm/lpc17xx/startup.s
@@ -146,6 +146,7 @@ UsageFault_Handler:
.type general_handler, %function
general_handler:
MOV R1, SP
+ SUB R1, #32
PUSH {R4-R11}
B general_C_handler