mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
9c40546c01
commit
2141a8457f
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue