diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-14 10:11:52 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-14 10:11:52 -0400 |
commit | 5806b81ac1c0c52665b91723fd4146a4f86e386b (patch) | |
tree | 24ea8763bf308ce1407c1de91dc8de4d2655e1c1 /include/asm-x86/irqflags.h | |
parent | d14c8a680ccfdeb5e7b9be4d61162c2b373bd1e8 (diff) | |
parent | 6712e299b7dc78aa4971b85e803435ee6d49a9dd (diff) |
Merge branch 'auto-ftrace-next' into tracing/for-linus
Conflicts:
arch/x86/kernel/entry_32.S
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/lib/Makefile
include/asm-x86/irqflags.h
kernel/Makefile
kernel/sched.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 |