File tree Expand file tree Collapse file tree 3 files changed +1
-31
lines changed Expand file tree Collapse file tree 3 files changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,6 @@ SYM_CODE_START(native_usergs_sysret64)
53
53
SYM_CODE_END(native_usergs_sysret64)
54
54
#endif /* CONFIG_PARAVIRT */
55
55
56
- .macro TRACE_IRQS_FLAGS flags: req
57
- #ifdef CONFIG_TRACE_IRQFLAGS
58
- btl $9 , \flags /* interrupts off? */
59
- jnc 1f
60
- TRACE_IRQS_ON
61
- 1:
62
- #endif
63
- .endm
64
-
65
- .macro TRACE_IRQS_IRETQ
66
- TRACE_IRQS_FLAGS EFLAGS(%rsp )
67
- .endm
68
-
69
56
/*
70
57
* 64-bit SYSCALL instruction entry. Up to 6 arguments in registers.
71
58
*
Original file line number Diff line number Diff line change 3
3
* Save registers before calling assembly functions. This avoids
4
4
* disturbance of register allocation in some inline assembly constructs.
5
5
* Copyright 2001,2002 by Andi Kleen, SuSE Labs.
6
- * Added trace_hardirqs callers - Copyright 2007 Steven Rostedt, Red Hat, Inc.
7
6
*/
8
7
#include <linux/linkage.h>
9
8
#include "calling.h"
@@ -37,20 +36,14 @@ SYM_FUNC_END(\name)
37
36
_ASM_NOKPROBE(\name)
38
37
.endm
39
38
40
- #ifdef CONFIG_TRACE_IRQFLAGS
41
- THUNK trace_hardirqs_on_thunk,trace_hardirqs_on_caller,1
42
- THUNK trace_hardirqs_off_thunk,trace_hardirqs_off_caller,1
43
- #endif
44
-
45
39
#ifdef CONFIG_PREEMPTION
46
40
THUNK preempt_schedule_thunk, preempt_schedule
47
41
THUNK preempt_schedule_notrace_thunk, preempt_schedule_notrace
48
42
EXPORT_SYMBOL(preempt_schedule_thunk)
49
43
EXPORT_SYMBOL(preempt_schedule_notrace_thunk)
50
44
#endif
51
45
52
- #if defined(CONFIG_TRACE_IRQFLAGS) \
53
- || defined(CONFIG_PREEMPTION)
46
+ #ifdef CONFIG_PREEMPTION
54
47
SYM_CODE_START_LOCAL_NOALIGN(.L_restore)
55
48
popq %r11
56
49
popq %r10
Original file line number Diff line number Diff line change @@ -172,14 +172,4 @@ static inline int arch_irqs_disabled(void)
172
172
}
173
173
#endif /* !__ASSEMBLY__ */
174
174
175
- #ifdef __ASSEMBLY__
176
- #ifdef CONFIG_TRACE_IRQFLAGS
177
- # define TRACE_IRQS_ON call trace_hardirqs_on_thunk;
178
- # define TRACE_IRQS_OFF call trace_hardirqs_off_thunk;
179
- #else
180
- # define TRACE_IRQS_ON
181
- # define TRACE_IRQS_OFF
182
- #endif
183
- #endif /* __ASSEMBLY__ */
184
-
185
175
#endif
You can’t perform that action at this time.
0 commit comments