diff options
author | Alexander van Heukelum <heukelum@fastmail.fm> | 2008-09-09 21:56:17 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-13 10:20:52 +0200 |
commit | a790392faa3a6138b6e90d0fe320a2829652ce22 (patch) | |
tree | 9cf6458e44232fa1eda5242b6b9d4fb28587adb5 /arch/x86 | |
parent | e0c7317557c8fc8eacf611e30c2a80f4e24e47a3 (diff) | |
download | kernel-common-a790392faa3a6138b6e90d0fe320a2829652ce22.tar.gz kernel-common-a790392faa3a6138b6e90d0fe320a2829652ce22.tar.bz2 kernel-common-a790392faa3a6138b6e90d0fe320a2829652ce22.zip |
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')
-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) pushl $-1 # mark this as an int CFI_ADJUST_CFA_OFFSET 4 SAVE_ALL + TRACE_IRQS_OFF xorl %edx,%edx # zero error code movl %esp,%eax # pt_regs pointer call do_int3 |