summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-03-10 14:06:06 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-14 12:29:58 -0700
commit480ae58db525e57cc18611eec7ae24633d2e7efc (patch)
treebb2891f1542e336f0264c1478ac45deed5878ece
parent6de3d6aa9ad455726eb7b689e2d3e57d89374e55 (diff)
downloadop-kernel-dev-480ae58db525e57cc18611eec7ae24633d2e7efc.zip
op-kernel-dev-480ae58db525e57cc18611eec7ae24633d2e7efc.tar.gz
Staging: hv: Change the signature for vmbus_on_isr()
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>
-rw-r--r--drivers/staging/hv/vmbus_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c
index 4b4483b..8e8a408 100644
--- a/drivers/staging/hv/vmbus_drv.c
+++ b/drivers/staging/hv/vmbus_drv.c
@@ -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) {
OpenPOWER on IntegriCloud