summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/frame.h
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2011-02-28 18:54:40 +0300
committerIngo Molnar <mingo@elte.hu>2011-02-28 20:06:22 +0300
commit60cf637a13932a4750da6746efd0199e8a4c341b (patch)
tree854edd9df2593f86b2c434d6830e6d2a26080b7b /arch/x86/include/asm/frame.h
parent39f2205e1abd1b6fffdaf45e1f1c3049a5f8999c (diff)
downloadlinux-60cf637a13932a4750da6746efd0199e8a4c341b.tar.xz
x86: Use {push,pop}_cfi in more places
Cleaning up and shortening code... Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: Alexander van Heukelum <heukelum@fastmail.fm> LKML-Reference: <4D6BD35002000078000341DA@vpn.id2.novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/frame.h')
-rw-r--r--arch/x86/include/asm/frame.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/frame.h b/arch/x86/include/asm/frame.h
index 06850a7194e1..2c6fc9e62812 100644
--- a/arch/x86/include/asm/frame.h
+++ b/arch/x86/include/asm/frame.h
@@ -7,14 +7,12 @@
frame pointer later */
#ifdef CONFIG_FRAME_POINTER
.macro FRAME
- pushl %ebp
- CFI_ADJUST_CFA_OFFSET 4
+ pushl_cfi %ebp
CFI_REL_OFFSET ebp,0
movl %esp,%ebp
.endm
.macro ENDFRAME
- popl %ebp
- CFI_ADJUST_CFA_OFFSET -4
+ popl_cfi %ebp
CFI_RESTORE ebp
.endm
#else