summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_64.S
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-11-23 12:53:43 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-23 13:20:52 +0100
commit8a2503fa4a6fae8ee42140b339f37373fc6acaae (patch)
tree2230cc4848f34d131faadd24365c0adbb4685598 /arch/x86/kernel/entry_64.S
parentx86: split out some macro's and move common code to paranoid_exit, fix (diff)
downloadlinux-8a2503fa4a6fae8ee42140b339f37373fc6acaae.tar.xz
linux-8a2503fa4a6fae8ee42140b339f37373fc6acaae.zip
x86: move dwarf2 related macro to dwarf2.h
Impact: cleanup Move recently introduced dwarf2 macros to dwarf2.h file. It allow us to not duplicate them in assembly files. Active usage of _cfi macros don't make assembly files more obvious to understand but we already have a lot of macros there which requires to search the definitions of them *anyway*. But at least it make every cfi usage one line shorter. Also some code alignment is done. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/entry_64.S')
-rw-r--r--arch/x86/kernel/entry_64.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index e5ddf573ded2..249eb604e71b 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -60,29 +60,6 @@
#define __AUDIT_ARCH_LE 0x40000000
.code64
-/*
- * Some macro's to hide the most frequently occuring CFI annotations.
- */
- .macro pushq_cfi reg
- pushq \reg
- CFI_ADJUST_CFA_OFFSET 8
- .endm
-
- .macro popq_cfi reg
- popq \reg
- CFI_ADJUST_CFA_OFFSET -8
- .endm
-
- .macro movq_cfi reg offset=0
- movq %\reg, \offset(%rsp)
- CFI_REL_OFFSET \reg, \offset
- .endm
-
- .macro movq_cfi_restore offset reg
- movq \offset(%rsp), %\reg
- CFI_RESTORE \reg
- .endm
-
#ifdef CONFIG_FUNCTION_TRACER
#ifdef CONFIG_DYNAMIC_FTRACE
ENTRY(mcount)