i386: add TRACE_IRQS_OFF for exception 1 (debug)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 13, 2008 - 11:06 am

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=43024a...
Commit:     43024a8a5d4c63952687286f3083f7f34d4da2cc
Parent:     85cea51d7e7b8d3408c8e933d88fa067309395fa
Author:     Alexander van Heukelum <heukelum@fastmail.fm>
AuthorDate: Tue Sep 9 21:56:15 2008 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Mon Oct 13 10:20:47 2008 +0200

    i386: add TRACE_IRQS_OFF for exception 1 (debug)
    
    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>
---
 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 49438e5..a278505 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -804,6 +804,7 @@ debug_stack_correct:
 	pushl $-1			# mark this as an int
 	CFI_ADJUST_CFA_OFFSET 4
 	SAVE_ALL
+	TRACE_IRQS_OFF
 	xorl %edx,%edx			# error code 0
 	movl %esp,%eax			# pt_regs pointer
 	call do_debug
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
i386: add TRACE_IRQS_OFF for exception 1 (debug), Linux Kernel Mailing ..., (Mon Oct 13, 11:06 am)