diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-09 15:56:17 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 04:20:52 -0400 |
commit | a790392faa3a6138b6e90d0fe320a2829652ce22 (patch) | |
tree | 9cf6458e44232fa1eda5242b6b9d4fb28587adb5 /arch | |
parent | e0c7317557c8fc8eacf611e30c2a80f4e24e47a3 (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')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 2abdc9a9f7bc..b21fbfaffe39 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 |