]> git.baikalelectronics.ru Git - kernel.git/commit
sparc64: Fix lockdep issues in LDC protocol layer.
authorDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2008 05:34:29 +0000 (22:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jul 2008 05:34:29 +0000 (22:34 -0700)
commitc67e4818339ef77cbe046f87fab84021a58adc38
tree9078edae88d93db2228f20d12e334a46a37a07e7
parent882aef1ab684bf7259f378a34cad8e361800941f
sparc64: Fix lockdep issues in LDC protocol layer.

We're calling request_irq() with a IRQs disabled.

No straightforward fix exists because we want to
enable these IRQs and setup state atomically before
getting into the IRQ handler the first time.

What happens now is that we mark the VIRQ to not be
automatically enabled by request_irq().  Then we
make explicit enable_irq() calls when we grab the
LDC channel.

This way we don't need to call request_irq() illegally
under the LDC channel lock any more.

Bump LDC version and release date.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/ldc.c