summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-09 23:44:43 -0800
committerDavid S. Miller <davem@davemloft.net>2009-12-09 23:44:43 -0800
commit08a036d583409e3517e3d15b7478d029b25f2cf2 (patch)
tree078f9640658dc956afa17bc3fe6d6fc52380808f
parent166e553a575f09485f6d0df8a1ef3c5991f7d953 (diff)
downloadlinux-08a036d583409e3517e3d15b7478d029b25f2cf2.tar.gz
linux-08a036d583409e3517e3d15b7478d029b25f2cf2.tar.bz2
linux-08a036d583409e3517e3d15b7478d029b25f2cf2.zip
sparc64: Don't specify IRQF_SHARED for LDC interrupts.
IRQF_SHARED and IRQF_DISABLED don't mix. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/ldc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/ldc.c b/arch/sparc/kernel/ldc.c
index cb3c72c45aab..e0ba898e30cf 100644
--- a/arch/sparc/kernel/ldc.c
+++ b/arch/sparc/kernel/ldc.c
@@ -1242,13 +1242,13 @@ int ldc_bind(struct ldc_channel *lp, const char *name)
snprintf(lp->tx_irq_name, LDC_IRQ_NAME_MAX, "%s TX", name);
err = request_irq(lp->cfg.rx_irq, ldc_rx,
- IRQF_SAMPLE_RANDOM | IRQF_DISABLED | IRQF_SHARED,
+ IRQF_SAMPLE_RANDOM | IRQF_DISABLED,
lp->rx_irq_name, lp);
if (err)
return err;
err = request_irq(lp->cfg.tx_irq, ldc_tx,
- IRQF_SAMPLE_RANDOM | IRQF_DISABLED | IRQF_SHARED,
+ IRQF_SAMPLE_RANDOM | IRQF_DISABLED,
lp->tx_irq_name, lp);
if (err) {
free_irq(lp->cfg.rx_irq, lp);