aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@fastmail.fm>2008-09-09 15:56:17 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-13 04:20:52 -0400
commita790392faa3a6138b6e90d0fe320a2829652ce22 (patch)
tree9cf6458e44232fa1eda5242b6b9d4fb28587adb5 /arch/x86/kernel
parente0c7317557c8fc8eacf611e30c2a80f4e24e47a3 (diff)
i386: add TRACE_IRQS_OFF for the exception 3 (int3)
At this point interrupts are off, so let's inform the tracing code of that fact before calling into C. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/entry_32.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index 2abdc9a9f7b..b21fbfaffe3 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -921,6 +921,7 @@ KPROBE_ENTRY(int3)
921 pushl $-1 # mark this as an int 921 pushl $-1 # mark this as an int
922 CFI_ADJUST_CFA_OFFSET 4 922 CFI_ADJUST_CFA_OFFSET 4
923 SAVE_ALL 923 SAVE_ALL
924 TRACE_IRQS_OFF
924 xorl %edx,%edx # zero error code 925 xorl %edx,%edx # zero error code
925 movl %esp,%eax # pt_regs pointer 926 movl %esp,%eax # pt_regs pointer
926 call do_int3 927 call do_int3