aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/entry/calling.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
index 5d10b7a85cad..be63330c5511 100644
--- a/arch/x86/entry/calling.h
+++ b/arch/x86/entry/calling.h
@@ -181,12 +181,7 @@ For 32-bit we have the following conventions - kernel is built with
181 */ 181 */
182.macro ENCODE_FRAME_POINTER ptregs_offset=0 182.macro ENCODE_FRAME_POINTER ptregs_offset=0
183#ifdef CONFIG_FRAME_POINTER 183#ifdef CONFIG_FRAME_POINTER
184 .if \ptregs_offset 184 leaq 1+\ptregs_offset(%rsp), %rbp
185 leaq \ptregs_offset(%rsp), %rbp
186 .else
187 mov %rsp, %rbp
188 .endif
189 orq $0x1, %rbp
190#endif 185#endif
191.endm 186.endm
192 187