projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122c577
)
uio: use request_threaded_irq instead
author
Xiubo Li
<xiubli@redhat.com>
Sat, 7 Jul 2018 02:05:37 +0000
(22:05 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 14:57:35 +0000
(16:57 +0200)
Prepraing for changing to use mutex lock.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/uio/uio.c
b/drivers/uio/uio.c
index e8f4ac9400ea842a8fe631fe23519e04f565f4e6..b4b2ae1e0473eda60e82053f44f479097ed13007 100644
(file)
--- 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;
}