[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1213254306.31518.84.camel@twins>
Date: Thu, 12 Jun 2008 09:05:06 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Vegard Nossum <vegard.nossum@...il.com>
Cc: Alessandro Suardi <alessandro.suardi@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [2.6.26-rc5-git2] WARNING: at kernel/lockdep.c:2658
check_flags+0x4c/0x128()
On Thu, 2008-06-12 at 08:55 +0200, Vegard Nossum wrote:
> From: Vegard Nossum <vegard.nossum@...il.com>
> Date: Thu, 12 Jun 2008 08:49:18 +0200
> Subject: [PATCH] x86: more hardirq annotations for notify_die()
>
> Reported-by: Alessandro Suardi <alessandro.suardi@...il.com>
> Signed-off-by: Vegard Nossum <vegard.nossum@...il.com>
> ---
> arch/x86/kernel/traps_32.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/kernel/traps_32.c b/arch/x86/kernel/traps_32.c
> index bde6f63..be9ecae 100644
> --- a/arch/x86/kernel/traps_32.c
> +++ b/arch/x86/kernel/traps_32.c
> @@ -569,6 +569,7 @@ void do_##name(struct pt_regs *regs, long error_code) \
> #define DO_VM86_ERROR(trapnr, signr, str, name) \
> void do_##name(struct pt_regs *regs, long error_code) \
> { \
> + trace_hardirqs_fixup(); \
> if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
> == NOTIFY_STOP) \
> return; \
Yeah, I think this is ok, actual traps don't have any way of knowing the
actual IRQ state afaik. So
Acked-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists