From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753570AbYIJGcU (ORCPT ); Wed, 10 Sep 2008 02:32:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751485AbYIJGcM (ORCPT ); Wed, 10 Sep 2008 02:32:12 -0400 Received: from m-relay2.rz.uni-saarland.de ([134.96.7.8]:9215 "EHLO eris.rz.uni-saarland.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbYIJGcL (ORCPT ); Wed, 10 Sep 2008 02:32:11 -0400 From: heukelum@fastmail.fm To: linux-kernel@vger.kernel.org, mingo@elte.hu, ak@suse.de Cc: Alexander van Heukelum Subject: [PATCH 21/24] i386: add TRACE_IRQS_OFF for exception 1 (debug) Date: Tue, 9 Sep 2008 21:56:15 +0200 Message-Id: <1220990178-29773-22-git-send-email-heukelum@fastmail.fm> X-Mailer: git-send-email 1.5.4.3 In-Reply-To: <1220990178-29773-21-git-send-email-heukelum@fastmail.fm> References: <1220990178-29773-1-git-send-email-heukelum@fastmail.fm> <1220990178-29773-2-git-send-email-heukelum@fastmail.fm> <1220990178-29773-3-git-send-email-heukelum@fastmail.fm> <1220990178-29773-4-git-send-email-heukelum@fastmail.fm> <1220990178-29773-5-git-send-email-heukelum@fastmail.fm> <1220990178-29773-6-git-send-email-heukelum@fastmail.fm> <1220990178-29773-7-git-send-email-heukelum@fastmail.fm> <1220990178-29773-8-git-send-email-heukelum@fastmail.fm> <1220990178-29773-9-git-send-email-heukelum@fastmail.fm> <1220990178-29773-10-git-send-email-heukelum@fastmail.fm> <1220990178-29773-11-git-send-email-heukelum@fastmail.fm> <1220990178-29773-12-git-send-email-heukelum@fastmail.fm> <1220990178-29773-13-git-send-email-heukelum@fastmail.fm> <1220990178-29773-14-git-send-email-heukelum@fastmail.fm> <1220990178-29773-15-git-send-email-heukelum@fastmail.fm> <1220990178-29773-16-git-send-email-heukelum@fastmail.fm> <1220990178-29773-17-git-send-email-heukelum@fastmail.fm> <1220990178-29773-18-git-send-email-heukelum@fastmail.fm> <1220990178-29773-19-git-send-email-heukelum@fastmail.fm> <1220990178-29773-20-git-send-email-heukelum@fastmail.fm> <1220990178-29773-21-git-send-email-heukelum@fastmail.fm> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (eris.rz.uni-saarland.de [134.96.7.8]); Wed, 10 Sep 2008 08:31:58 +0200 (CEST) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.8.1.28; VDF: 7.0.6.136; host: AntiVir2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander van Heukelum 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 --- 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 -- 1.5.4.3