Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hpet: remove deprecated IRQF_DISABLED

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>

authored by

Michael Opdenacker and committed by
Greg Kroah-Hartman
158f0bb0 838b3a6d

+1 -2
+1 -2
drivers/char/hpet.c
··· 486 486 } 487 487 488 488 sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev)); 489 - irq_flags = devp->hd_flags & HPET_SHARED_IRQ 490 - ? IRQF_SHARED : IRQF_DISABLED; 489 + irq_flags = devp->hd_flags & HPET_SHARED_IRQ ? IRQF_SHARED : 0; 491 490 if (request_irq(irq, hpet_interrupt, irq_flags, 492 491 devp->hd_name, (void *)devp)) { 493 492 printk(KERN_ERR "hpet: IRQ %d is not free\n", irq);