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

3c59x.c's vortex_timer() function knows that vp->lock can only be used by an
irq context that it disabled - and can hence take the vp->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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/3c59x.c