Skip to content

Commit 6225da4

Browse files
Stephen M. Cameronaxboe
authored andcommitted
cciss: Add IRQF_SHARED back in for the non-MSI(X) interrupt handler
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>
1 parent ae95757 commit 6225da4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/block/cciss.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4880,7 +4880,7 @@ static int cciss_request_irq(ctlr_info_t *h,
48804880
{
48814881
if (h->msix_vector || h->msi_vector) {
48824882
if (!request_irq(h->intr[h->intr_mode], msixhandler,
4883-
IRQF_DISABLED, h->devname, h))
4883+
0, h->devname, h))
48844884
return 0;
48854885
dev_err(&h->pdev->dev, "Unable to get msi irq %d"
48864886
" for %s\n", h->intr[h->intr_mode],
@@ -4889,7 +4889,7 @@ static int cciss_request_irq(ctlr_info_t *h,
48894889
}
48904890

48914891
if (!request_irq(h->intr[h->intr_mode], intxhandler,
4892-
IRQF_DISABLED, h->devname, h))
4892+
IRQF_SHARED, h->devname, h))
48934893
return 0;
48944894
dev_err(&h->pdev->dev, "Unable to get irq %d for %s\n",
48954895
h->intr[h->intr_mode], h->devname);

0 commit comments

Comments
 (0)