diff options
-rw-r--r-- | arch/x86/include/asm/calling.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/calling.h b/arch/x86/include/asm/calling.h index 0d76accde45b..f4e6308c4200 100644 --- a/arch/x86/include/asm/calling.h +++ b/arch/x86/include/asm/calling.h | |||
@@ -89,7 +89,7 @@ For 32-bit we have the following conventions - kernel is built with | |||
89 | #define SIZEOF_PTREGS 21*8 | 89 | #define SIZEOF_PTREGS 21*8 |
90 | 90 | ||
91 | .macro ALLOC_PT_GPREGS_ON_STACK addskip=0 | 91 | .macro ALLOC_PT_GPREGS_ON_STACK addskip=0 |
92 | subq $15*8+\addskip, %rsp | 92 | addq $-(15*8+\addskip), %rsp |
93 | .endm | 93 | .endm |
94 | 94 | ||
95 | .macro SAVE_C_REGS_HELPER offset=0 rax=1 rcx=1 r8910=1 r11=1 | 95 | .macro SAVE_C_REGS_HELPER offset=0 rax=1 rcx=1 r8910=1 r11=1 |
@@ -201,7 +201,7 @@ For 32-bit we have the following conventions - kernel is built with | |||
201 | .endm | 201 | .endm |
202 | 202 | ||
203 | .macro REMOVE_PT_GPREGS_FROM_STACK addskip=0 | 203 | .macro REMOVE_PT_GPREGS_FROM_STACK addskip=0 |
204 | addq $15*8+\addskip, %rsp | 204 | subq $-(15*8+\addskip), %rsp |
205 | .endm | 205 | .endm |
206 | 206 | ||
207 | .macro icebp | 207 | .macro icebp |