Staging: hv: Change the signature for vmbus_on_isr()
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 10 Mar 2011 22:06:06 +0000 (14:06 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Mar 2011 19:29:58 +0000 (12:29 -0700)
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>
drivers/staging/hv/vmbus_drv.c

index 4b4483b2e18e2baae5cbc07f9b8dc13f9d32e4d6..8e8a408d687762e9368ecd07034332d7399f804f 100644 (file)
@@ -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();
@@ -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) {