sparc64: Don't specify IRQF_SHARED for LDC interrupts.
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2009 07:44:43 +0000 (23:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2009 07:44:43 +0000 (23:44 -0800)
IRQF_SHARED and IRQF_DISABLED don't mix.

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

index cb3c72c45aab441786c6ad5274cfb9aa056f735c..e0ba898e30cffa2438ee8cb569edf796ca96dfbc 100644 (file)
@@ -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);