summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/frame.h
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2011-02-28 15:54:40 +0000
committerIngo Molnar <mingo@elte.hu>2011-02-28 18:06:22 +0100
commit60cf637a13932a4750da6746efd0199e8a4c341b (patch)
tree854edd9df2593f86b2c434d6830e6d2a26080b7b /arch/x86/include/asm/frame.h
parent39f2205e1abd1b6fffdaf45e1f1c3049a5f8999c (diff)
downloadop-kernel-dev-60cf637a13932a4750da6746efd0199e8a4c341b.zip
op-kernel-dev-60cf637a13932a4750da6746efd0199e8a4c341b.tar.gz
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 06850a7..2c6fc9e 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
OpenPOWER on IntegriCloud