summaryrefslogtreecommitdiff
path: root/drivers/uio
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-01-05 01:13:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-09 21:44:07 +0300
commit2141a8457f16bac72ef4b4c38885612d1f2232cb (patch)
treeec2fcd45908ab83da76784a997f8f6b9370adcab /drivers/uio
parent9c40546c012c8d98e88be38c650e66203cb2f1a8 (diff)
downloadlinux-2141a8457f16bac72ef4b4c38885612d1f2232cb.tar.xz
uio_hv_generic: use ISR callback method
The UIO IRQ handler doesn't need to be called from a tasklet. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio')
-rw-r--r--drivers/uio/uio_hv_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio_hv_generic.c b/drivers/uio/uio_hv_generic.c
index 8d5f529a1dc1..a0c4c07a907f 100644
--- a/drivers/uio/uio_hv_generic.c
+++ b/drivers/uio/uio_hv_generic.c
@@ -109,7 +109,7 @@ hv_uio_probe(struct hv_device *dev,
goto fail;
dev->channel->inbound.ring_buffer->interrupt_mask = 1;
- set_channel_read_mode(dev->channel, HV_CALL_DIRECT);
+ set_channel_read_mode(dev->channel, HV_CALL_ISR);
/* Fill general uio info */
pdata->info.name = "uio_hv_generic";