From: Ingo Molnar Date: Mon, 3 Jul 2006 07:25:39 +0000 (-0700) Subject: [PATCH] lockdep: annotate forcedeth.c disable_irq() X-Git-Tag: v2.6.18-rc1~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8688cfcebf09b84385b5e2c461ae08fcde8a5d18;p=pandora-kernel.git [PATCH] lockdep: annotate forcedeth.c disable_irq() nv_do_nic_poll() is called from timer softirqs, which has interrupts enabled, but np->lock might also be taken by some other interrupt context. The driver does disable_irq() to get around this problem, so annotate the disable_irq()/enable_irq() calls for lockdep. Has no effect on non-lockdep kernels. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Cc: Ayaz Abdulla Cc: Manfred Spraul Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed