Re: [PATCH 31/62] driver/char: irq: Remove IRQF_DISABLED

Clemens Ladisch
2011-09-08T10:55:18Z

Yong Zhang wrote:
> This flag is a NOOP and can be removed now.
>
> Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
> ---
> drivers/char/hpet.c | 2 +-
> ...
> diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
> index 0833896..10f3f04 100644
> --- a/drivers/char/hpet.c
> +++ b/drivers/char/hpet.c
> @@ -500,7 +500,7 @@ static int hpet_ioctl_ieon(struct hpet_dev *devp)
>
> sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev));
> irq_flags = devp->hd_flags & HPET_SHARED_IRQ
> - ? IRQF_SHARED : IRQF_DISABLED;
> + ? IRQF_SHARED : 0;
> if (request_irq(irq, hpet_interrupt, irq_flags,
> devp->hd_name, (void *)devp)) {
> printk(KERN_ERR "hpet: IRQ %d is not free\n", irq);
> ...

Acked-by: Clemens Ladisch <clemens@ladisch.de>

Regards,
Clemens