2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

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>
This commit is contained in:
K. Y. Srinivasan 2011-03-10 14:06:06 -08:00 committed by Greg Kroah-Hartman
parent 6de3d6aa9a
commit 480ae58db5

View File

@ -258,7 +258,7 @@ static void vmbus_on_msg_dpc(unsigned long data)
/* /*
* vmbus_on_isr - ISR routine * vmbus_on_isr - ISR routine
*/ */
static int vmbus_on_isr(struct hv_driver *drv) static int vmbus_on_isr(void)
{ {
int ret = 0; int ret = 0;
int cpu = smp_processor_id(); int cpu = smp_processor_id();
@ -989,8 +989,7 @@ static irqreturn_t vmbus_isr(int irq, void *dev_id)
{ {
int ret; int ret;
/* Call to bus driver to handle interrupt */ ret = vmbus_on_isr();
ret = vmbus_on_isr(NULL);
/* Schedules a dpc if necessary */ /* Schedules a dpc if necessary */
if (ret > 0) { if (ret > 0) {