aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_64.S
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-11-23 06:53:43 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 07:20:52 -0500
commit8a2503fa4a6fae8ee42140b339f37373fc6acaae (patch)
tree2230cc4848f34d131faadd24365c0adbb4685598 /arch/x86/kernel/entry_64.S
parentc81084114f6ff957bc6b5a0048350479c1c1f7b3 (diff)
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 @@
60#define __AUDIT_ARCH_LE 0x40000000 60#define __AUDIT_ARCH_LE 0x40000000
61 61
62 .code64 62 .code64
63/*
64 * Some macro's to hide the most frequently occuring CFI annotations.
65 */
66 .macro pushq_cfi reg
67 pushq \reg
68 CFI_ADJUST_CFA_OFFSET 8
69 .endm
70
71 .macro popq_cfi reg
72 popq \reg
73 CFI_ADJUST_CFA_OFFSET -8
74 .endm
75
76 .macro movq_cfi reg offset=0
77 movq %\reg, \offset(%rsp)
78 CFI_REL_OFFSET \reg, \offset
79 .endm
80
81 .macro movq_cfi_restore offset reg
82 movq \offset(%rsp), %\reg
83 CFI_RESTORE \reg
84 .endm
85
86#ifdef CONFIG_FUNCTION_TRACER 63#ifdef CONFIG_FUNCTION_TRACER
87#ifdef CONFIG_DYNAMIC_FTRACE 64#ifdef CONFIG_DYNAMIC_FTRACE
88ENTRY(mcount) 65ENTRY(mcount)