Skip to content

Commit 9421e45

Browse files
lxbszgregkh
authored andcommitted
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>
1 parent 122c577 commit 9421e45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/uio/uio.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,9 @@ int __uio_register_device(struct module *owner,
902902
* FDs at the time of unregister and therefore may not be
903903
* freed until they are released.
904904
*/
905-
ret = request_irq(info->irq, uio_interrupt,
906-
info->irq_flags, info->name, idev);
905+
ret = request_threaded_irq(info->irq, NULL, uio_interrupt,
906+
info->irq_flags, info->name, idev);
907+
907908
if (ret)
908909
goto err_request_irq;
909910
}

0 commit comments

Comments
 (0)