]> err.no Git - linux-2.6/commit
[PATCH] lockdep: annotate 8390.c disable_irq()
authorIngo Molnar <mingo@elte.hu>
Mon, 3 Jul 2006 07:25:23 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 3 Jul 2006 22:27:09 +0000 (15:27 -0700)
commite745165c6d235c03e9fa0e57984ca6fd3d3b2c50
tree29f859b398109d82c018d9c4ed2d9565d8c58cf9
parent933a2efc59513551dcfa7b814752dc581bd3c60b
[PATCH] lockdep: annotate 8390.c disable_irq()

8390.c knows that ei_local->page_lock can only be used by an irq context that
it disabled - and can hence take the ->page_lock without disabling hardirqs.
Teach lockdep about this.

Has no effect on non-lockdep kernels.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/8390.c