Skip to content

Commit

Permalink
hpet: remove deprecated IRQF_DISABLED
Browse files Browse the repository at this point in the history
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@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Michael Opdenacker authored and Greg Kroah-Hartman committed Oct 16, 2013
1 parent 838b3a6 commit 158f0bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/char/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,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;
irq_flags = devp->hd_flags & HPET_SHARED_IRQ ? 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);
Expand Down

0 comments on commit 158f0bb

Please sign in to comment.