diff options
Diffstat (limited to 'arch/x86/include/asm/frame.h')
| -rw-r--r-- | arch/x86/include/asm/frame.h | 13 | 
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/x86/include/asm/frame.h b/arch/x86/include/asm/frame.h index 06850a7194e..3b629f47eb6 100644 --- a/arch/x86/include/asm/frame.h +++ b/arch/x86/include/asm/frame.h @@ -1,5 +1,6 @@  #ifdef __ASSEMBLY__ +#include <asm/asm.h>  #include <asm/dwarf2.h>  /* The annotation hides the frame from the unwinder and makes it look @@ -7,15 +8,13 @@     frame pointer later */  #ifdef CONFIG_FRAME_POINTER  	.macro FRAME -	pushl %ebp -	CFI_ADJUST_CFA_OFFSET 4 -	CFI_REL_OFFSET ebp,0 -	movl %esp,%ebp +	__ASM_SIZE(push,_cfi)	%__ASM_REG(bp) +	CFI_REL_OFFSET		__ASM_REG(bp), 0 +	__ASM_SIZE(mov)		%__ASM_REG(sp), %__ASM_REG(bp)  	.endm  	.macro ENDFRAME -	popl %ebp -	CFI_ADJUST_CFA_OFFSET -4 -	CFI_RESTORE ebp +	__ASM_SIZE(pop,_cfi)	%__ASM_REG(bp) +	CFI_RESTORE		__ASM_REG(bp)  	.endm  #else  	.macro FRAME  | 
