]> git.karo-electronics.de Git - karo-tx-linux.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)
commitb7c2a75725dee9b5643a0aae3a4cb47f52e00a49
tree9078edae88d93db2228f20d12e334a46a37a07e7
parent4a0a088970a553e9f89d23eec688932f689d57f9
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