summaryrefslogtreecommitdiff
path: root/include/asm_macros.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm_macros.S')
-rw-r--r--include/asm_macros.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm_macros.S b/include/asm_macros.S
index 0067ca61..786c52a2 100644
--- a/include/asm_macros.S
+++ b/include/asm_macros.S
@@ -55,14 +55,14 @@
.macro exception_entry func
- stp x29, x30, [sp, #-0x10]!
+ stp x29, x30, [sp, #-(SIZEOF_GPREGS - GPREGS_FP_OFF)]!
bl \func
.endm
.macro exception_exit func
bl \func
- ldp x29, x30, [sp], #0x10
+ ldp x29, x30, [sp], #(SIZEOF_GPREGS - GPREGS_FP_OFF)
.endm