Skip to content

Commit

Permalink
uio_hv_generic: use ISR callback method
Browse files Browse the repository at this point in the history
The UIO IRQ handler doesn't need to be called from a tasklet.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
shemminger authored and gregkh committed Jan 9, 2018
1 parent 9c40546 commit 2141a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/uio/uio_hv_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 2141a84

Please sign in to comment.