[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1530845836-49101-2-git-send-email-xiubli@redhat.com>
Date: Thu, 5 Jul 2018 22:57:14 -0400
From: xiubli@...hat.com
To: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org
Cc: hamish.martin@...iedtelesis.co.nz, jannh@...gle.com,
pkalever@...hat.com, pkarampu@...hat.com, atumball@...hat.com,
sabose@...hat.com, mchristi@...hat.com
Subject: [PATCH v3 1/3] uio: use request_threaded_irq instead
From: Xiubo Li <xiubli@...hat.com>
Prepraing for changing to use mutex lock.
Signed-off-by: Xiubo Li <xiubli@...hat.com>
---
drivers/uio/uio.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index e8f4ac9..b4b2ae1 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;
}
--
1.8.3.1
Powered by blists - more mailing lists