diff options
Diffstat (limited to 'include/asm-x86/irqflags.h')
-rw-r--r-- | include/asm-x86/irqflags.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/include/asm-x86/irqflags.h b/include/asm-x86/irqflags.h index 17e7a1701c97..424acb48cd61 100644 --- a/include/asm-x86/irqflags.h +++ b/include/asm-x86/irqflags.h | |||
@@ -190,8 +190,6 @@ static inline void trace_hardirqs_fixup(void) | |||
190 | #else | 190 | #else |
191 | 191 | ||
192 | #ifdef CONFIG_X86_64 | 192 | #ifdef CONFIG_X86_64 |
193 | #define ARCH_TRACE_IRQS_ON call trace_hardirqs_on_thunk | ||
194 | #define ARCH_TRACE_IRQS_OFF call trace_hardirqs_off_thunk | ||
195 | #define ARCH_LOCKDEP_SYS_EXIT call lockdep_sys_exit_thunk | 193 | #define ARCH_LOCKDEP_SYS_EXIT call lockdep_sys_exit_thunk |
196 | #define ARCH_LOCKDEP_SYS_EXIT_IRQ \ | 194 | #define ARCH_LOCKDEP_SYS_EXIT_IRQ \ |
197 | TRACE_IRQS_ON; \ | 195 | TRACE_IRQS_ON; \ |
@@ -203,24 +201,6 @@ static inline void trace_hardirqs_fixup(void) | |||
203 | TRACE_IRQS_OFF; | 201 | TRACE_IRQS_OFF; |
204 | 202 | ||
205 | #else | 203 | #else |
206 | #define ARCH_TRACE_IRQS_ON \ | ||
207 | pushl %eax; \ | ||
208 | pushl %ecx; \ | ||
209 | pushl %edx; \ | ||
210 | call trace_hardirqs_on; \ | ||
211 | popl %edx; \ | ||
212 | popl %ecx; \ | ||
213 | popl %eax; | ||
214 | |||
215 | #define ARCH_TRACE_IRQS_OFF \ | ||
216 | pushl %eax; \ | ||
217 | pushl %ecx; \ | ||
218 | pushl %edx; \ | ||
219 | call trace_hardirqs_off; \ | ||
220 | popl %edx; \ | ||
221 | popl %ecx; \ | ||
222 | popl %eax; | ||
223 | |||
224 | #define ARCH_LOCKDEP_SYS_EXIT \ | 204 | #define ARCH_LOCKDEP_SYS_EXIT \ |
225 | pushl %eax; \ | 205 | pushl %eax; \ |
226 | pushl %ecx; \ | 206 | pushl %ecx; \ |
@@ -234,8 +214,8 @@ static inline void trace_hardirqs_fixup(void) | |||
234 | #endif | 214 | #endif |
235 | 215 | ||
236 | #ifdef CONFIG_TRACE_IRQFLAGS | 216 | #ifdef CONFIG_TRACE_IRQFLAGS |
237 | # define TRACE_IRQS_ON ARCH_TRACE_IRQS_ON | 217 | # define TRACE_IRQS_ON call trace_hardirqs_on_thunk; |
238 | # define TRACE_IRQS_OFF ARCH_TRACE_IRQS_OFF | 218 | # define TRACE_IRQS_OFF call trace_hardirqs_off_thunk; |
239 | #else | 219 | #else |
240 | # define TRACE_IRQS_ON | 220 | # define TRACE_IRQS_ON |
241 | # define TRACE_IRQS_OFF | 221 | # define TRACE_IRQS_OFF |