summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2018-07-06 22:05:37 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-07 16:57:35 +0200
commit9421e45f5ff3d558cf8b75a8cc0824530caf3453 (patch)
tree4a22ee16fd5b2f7c163a57da4ab221957aa678ad /drivers/uio
parent122c5770cff2c1df1a2384b68285be2812cd72c1 (diff)
uio: use request_threaded_irq instead
Prepraing for changing to use mutex lock. Signed-off-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
-rw-r--r--drivers/uio/uio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index e8f4ac9400ea..b4b2ae1e0473 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -902,8 +902,9 @@ int __uio_register_device(struct module *owner,
* FDs at the time of unregister and therefore may not be
* freed until they are released.
*/
- ret = request_irq(info->irq, uio_interrupt,
- info->irq_flags, info->name, idev);
+ ret = request_threaded_irq(info->irq, NULL, uio_interrupt,
+ info->irq_flags, info->name, idev);
+
if (ret)
goto err_request_irq;
}