]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
uio_hv_generic: use ISR callback method
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 4 Jan 2018 22:13:31 +0000 (14:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 18:44:07 +0000 (19:44 +0100)
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>
drivers/uio/uio_hv_generic.c

index 8d5f529a1dc1a17720875ac566c648ca01d61302..a0c4c07a907f74b085672c5dca49da17421a86a1 100644 (file)
@@ -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";