Skip to content

Commit

Permalink
uio: use request_threaded_irq instead
Browse files Browse the repository at this point in the history
Prepraing for changing to use mutex lock.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Xiubo Li authored and Greg Kroah-Hartman committed Jul 7, 2018
1 parent 122c577 commit 9421e45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/uio/uio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9421e45

Please sign in to comment.