Skip to content

Commit

Permalink
Staging: hv: Change the signature for vmbus_on_isr()
Browse files Browse the repository at this point in the history
As part of getting getting rid of the  hv_driver object from
vmbus_driver_context, change the signature for vmbus_on_isr.
Note that the argument to vmbus_on_isr() is not used.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Mike Sterling <mike.sterling@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 6de3d6a commit 480ae58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static void vmbus_on_msg_dpc(unsigned long data)
/*
* vmbus_on_isr - ISR routine
*/
static int vmbus_on_isr(struct hv_driver *drv)
static int vmbus_on_isr(void)
{
int ret = 0;
int cpu = smp_processor_id();
Expand Down Expand Up @@ -989,8 +989,7 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id)
{
int ret;

/* Call to bus driver to handle interrupt */
ret = vmbus_on_isr(NULL);
ret = vmbus_on_isr();

/* Schedules a dpc if necessary */
if (ret > 0) {
Expand Down

0 comments on commit 480ae58

Please sign in to comment.