tracing: Avoid soft lockup in trace_pipe
[deliverable/linux.git] / arch / x86 / include / asm / frame.h
CommitLineData
7e02cb94
AB
1#ifdef __ASSEMBLY__
2
ecaf45ee
AK
3#include <asm/dwarf2.h>
4
5/* The annotation hides the frame from the unwinder and makes it look
6 like a ordinary ebp save/restore. This avoids some special cases for
7 frame pointer later */
8#ifdef CONFIG_FRAME_POINTER
9 .macro FRAME
60cf637a 10 pushl_cfi %ebp
ecaf45ee
AK
11 CFI_REL_OFFSET ebp,0
12 movl %esp,%ebp
13 .endm
14 .macro ENDFRAME
60cf637a 15 popl_cfi %ebp
ecaf45ee
AK
16 CFI_RESTORE ebp
17 .endm
18#else
19 .macro FRAME
20 .endm
21 .macro ENDFRAME
22 .endm
23#endif
7e02cb94
AB
24
25#endif /* __ASSEMBLY__ */
This page took 0.426316 seconds and 5 git commands to generate.