mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 23:54:04 +08:00
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>
This commit is contained in:
parent
122c5770cf
commit
9421e45f5f
@ -902,8 +902,9 @@ int __uio_register_device(struct module *owner,
|
|||||||
* FDs at the time of unregister and therefore may not be
|
* FDs at the time of unregister and therefore may not be
|
||||||
* freed until they are released.
|
* freed until they are released.
|
||||||
*/
|
*/
|
||||||
ret = request_irq(info->irq, uio_interrupt,
|
ret = request_threaded_irq(info->irq, NULL, uio_interrupt,
|
||||||
info->irq_flags, info->name, idev);
|
info->irq_flags, info->name, idev);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_request_irq;
|
goto err_request_irq;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user