Re: [PATCH] misc: phantom: remove deprecated IRQF_DISABLED

From: Jiri Slaby
Date: Mon Oct 14 2013 - 04:49:49 EST


On 10/13/2013 08:16 AM, Michael Opdenacker wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@xxxxxxxxxxxxxxxxxx>

Acked-by: Jiri Slaby <jslaby@xxxxxxx>

Thanks.

> ---
> drivers/misc/phantom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
> index 68b7c77..3075492 100644
> --- a/drivers/misc/phantom.c
> +++ b/drivers/misc/phantom.c
> @@ -395,7 +395,7 @@ static int phantom_probe(struct pci_dev *pdev,
> iowrite32(0, pht->caddr + PHN_IRQCTL);
> ioread32(pht->caddr + PHN_IRQCTL); /* PCI posting */
> retval = request_irq(pdev->irq, phantom_isr,
> - IRQF_SHARED | IRQF_DISABLED, "phantom", pht);
> + IRQF_SHARED, "phantom", pht);
> if (retval) {
> dev_err(&pdev->dev, "can't establish ISR\n");
> goto err_unmo;
>


--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/