summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/lib/thunk.S
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 09:24:45 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-04 00:27:03 +0200
commit6375e2b74c620794e1a27a26e4338aec2e41346a (patch)
treef966478bc214af98e9ca6235506377b5dd872526 /arch/x86_64/lib/thunk.S
parent[PATCH] lockdep: irqtrace subsystem, x86_64 support (diff)
downloadlinux-6375e2b74c620794e1a27a26e4338aec2e41346a.tar.xz
linux-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/thunk.S')
-rw-r--r--arch/x86_64/lib/thunk.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/lib/thunk.S b/arch/x86_64/lib/thunk.S
index e49af0032e94..332ea5dff916 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