* [PATCH] hpet: remove deprecated IRQF_DISABLED
@ 2013-10-13 3:53 Michael Opdenacker
2013-10-15 19:25 ` Arnd Bergmann
0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2013-10-13 3:53 UTC (permalink / raw)
To: clemens, arnd, gregkh; +Cc: linux-kernel, Michael Opdenacker
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>
---
drivers/char/hpet.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 448ce5e..3becd6e 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -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);
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hpet: remove deprecated IRQF_DISABLED
2013-10-13 3:53 [PATCH] hpet: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2013-10-15 19:25 ` Arnd Bergmann
0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2013-10-15 19:25 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: clemens, gregkh, linux-kernel
On Sunday 13 October 2013, Michael Opdenacker wrote:
> 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>
for all drivers/misc and drivers/char patches:
Acked-by: Arnd Bergmann <arnd@arndb.de>
Since the patches should all be trivial, you might consider doing
one patch per subsystem rather than one patch per driver, but that
depends a bit on the preference of the subsystem maintainer.
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-15 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 3:53 [PATCH] hpet: remove deprecated IRQF_DISABLED Michael Opdenacker
2013-10-15 19:25 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox