Re: [RESEND PATCH] ARM: fix 'unannotated irqs-on' lockdep warning

From: Russell King - ARM Linux
Date: Sun May 23 2010 - 08:38:36 EST


On Sun, May 23, 2010 at 07:48:48PM +0800, tom.leiming@xxxxxxxxx wrote:
> diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
> index 2c1db77..ed471a7 100644
> --- a/arch/arm/kernel/entry-common.S
> +++ b/arch/arm/kernel/entry-common.S
> @@ -58,7 +58,7 @@ work_resched:
> */
> ENTRY(ret_to_user)
> ret_slow_syscall:
> - disable_irq @ disable interrupts
> + disable_irq_notrace @ disable interrupts

I think this one does need to be traced - the pending work functions are
all C code which could call back into lockdep.

Also, I'm nervious about applying this patch without seeing more people
test it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/