cciss: Add IRQF_SHARED back in for the non-MSI(X) interrupt handler
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Mon, 28 Nov 2011 19:12:05 +0000 (20:12 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Nov 2011 19:12:05 +0000 (20:12 +0100)
IRQF_SHARED is required for older controllers that don't support MSI(X)
and which may end up sharing an interrupt.

Also remove deprecated IRQF_DISABLED.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/cciss.c

index 8004ac30a7a8634bc7f963be8db2c6c1eac61ce4..6f22ed0dab651ae1ccbac13884b7459be372d647 100644 (file)
@@ -4880,7 +4880,7 @@ static int cciss_request_irq(ctlr_info_t *h,
 {
        if (h->msix_vector || h->msi_vector) {
                if (!request_irq(h->intr[h->intr_mode], msixhandler,
-                               IRQF_DISABLED, h->devname, h))
+                               0, h->devname, h))
                        return 0;
                dev_err(&h->pdev->dev, "Unable to get msi irq %d"
                        " for %s\n", h->intr[h->intr_mode],
@@ -4889,7 +4889,7 @@ static int cciss_request_irq(ctlr_info_t *h,
        }
 
        if (!request_irq(h->intr[h->intr_mode], intxhandler,
-                       IRQF_DISABLED, h->devname, h))
+                       IRQF_SHARED, h->devname, h))
                return 0;
        dev_err(&h->pdev->dev, "Unable to get irq %d for %s\n",
                h->intr[h->intr_mode], h->devname);