diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-07-03 00:24:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-03 15:27:03 -0700 |
commit | 6375e2b74c620794e1a27a26e4338aec2e41346a (patch) | |
tree | f966478bc214af98e9ca6235506377b5dd872526 /arch/x86_64/lib | |
parent | 2601e64d262ee5ed4d4a5737345803800d9c4db3 (diff) | |
download | linux-3.10-6375e2b74c620794e1a27a26e4338aec2e41346a.tar.gz linux-3.10-6375e2b74c620794e1a27a26e4338aec2e41346a.tar.bz2 linux-3.10-6375e2b74c620794e1a27a26e4338aec2e41346a.zip |
[PATCH] lockdep: irqtrace cleanup of include/asm-x86_64/irqflags.h
Clean up the x86-64 irqflags.h file:
- macro => inline function transformation
- simplifications
- style fixes
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/lib')
-rw-r--r-- | arch/x86_64/lib/thunk.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/lib/thunk.S b/arch/x86_64/lib/thunk.S index e49af0032e9..332ea5dff91 100644 --- a/arch/x86_64/lib/thunk.S +++ b/arch/x86_64/lib/thunk.S @@ -47,6 +47,11 @@ thunk_retrax __down_failed_interruptible,__down_interruptible thunk_retrax __down_failed_trylock,__down_trylock thunk __up_wakeup,__up + +#ifdef CONFIG_TRACE_IRQFLAGS + thunk trace_hardirqs_on_thunk,trace_hardirqs_on + thunk trace_hardirqs_off_thunk,trace_hardirqs_off +#endif /* SAVE_ARGS below is used only for the .cfi directives it contains. */ CFI_STARTPROC |