lkml.org 
[lkml]   [2011]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 31/62] driver/char: irq: Remove IRQF_DISABLED
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


\
 
 \ /
  Last update: 2011-09-08 12:57    [W:0.038 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site