* [PATCH] mg_disk: remove deprecated IRQF_DISABLED
@ 2013-10-12 4:33 Michael Opdenacker
2013-10-15 19:40 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2013-10-12 4:33 UTC (permalink / raw)
To: jg1.han, akpm, axboe, yongjun_wei; +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/block/mg_disk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c
index 77a60be..7bc363f 100644
--- a/drivers/block/mg_disk.c
+++ b/drivers/block/mg_disk.c
@@ -936,7 +936,7 @@ static int mg_probe(struct platform_device *plat_dev)
goto probe_err_3b;
}
err = request_irq(host->irq, mg_irq,
- IRQF_DISABLED | IRQF_TRIGGER_RISING,
+ IRQF_TRIGGER_RISING,
MG_DEV_NAME, host);
if (err) {
printk(KERN_ERR "%s:%d fail (request_irq err=%d)\n",
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mg_disk: remove deprecated IRQF_DISABLED
2013-10-12 4:33 [PATCH] mg_disk: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2013-10-15 19:40 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-10-15 19:40 UTC (permalink / raw)
To: Michael Opdenacker; +Cc: jg1.han, akpm, yongjun_wei, linux-kernel
On Sat, Oct 12 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.
Thanks, added for 3.13.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-15 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12 4:33 [PATCH] mg_disk: remove deprecated IRQF_DISABLED Michael Opdenacker
2013-10-15 19:40 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox