mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
838b3a6d62
commit
158f0bb005
@ -486,8 +486,7 @@ static int hpet_ioctl_ieon(struct hpet_dev *devp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev));
|
sprintf(devp->hd_name, "hpet%d", (int)(devp - hpetp->hp_dev));
|
||||||
irq_flags = devp->hd_flags & HPET_SHARED_IRQ
|
irq_flags = devp->hd_flags & HPET_SHARED_IRQ ? IRQF_SHARED : 0;
|
||||||
? IRQF_SHARED : IRQF_DISABLED;
|
|
||||||
if (request_irq(irq, hpet_interrupt, irq_flags,
|
if (request_irq(irq, hpet_interrupt, irq_flags,
|
||||||
devp->hd_name, (void *)devp)) {
|
devp->hd_name, (void *)devp)) {
|
||||||
printk(KERN_ERR "hpet: IRQ %d is not free\n", irq);
|
printk(KERN_ERR "hpet: IRQ %d is not free\n", irq);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user