Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228254
b: refs/heads/master
c: 4a1494f
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 2, 2010
1 parent e6d5a67 commit 2c305b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 097e310329fb69c928aa44b517a547e4a17658fd
refs/heads/master: 4a1494fc101b05f895ef52b9d01769d382c5a6e2
5 changes: 2 additions & 3 deletions trunk/drivers/staging/hv/vmbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ static void VmbusOnCleanup(struct hv_driver *drv)
}

/*
* VmbusOnMsgDPC - DPC routine to handle messages from the hypervisior
* vmbus_on_msg_dpc - DPC routine to handle messages from the hypervisior
*/
static void VmbusOnMsgDPC(struct hv_driver *drv)
void vmbus_on_msg_dpc(struct hv_driver *drv)
{
int cpu = smp_processor_id();
void *page_addr = hv_context.synic_message_page[cpu];
Expand Down Expand Up @@ -235,7 +235,6 @@ int VmbusInitialize(struct hv_driver *drv)
driver->Base.OnDeviceAdd = VmbusOnDeviceAdd;
driver->Base.OnDeviceRemove = VmbusOnDeviceRemove;
driver->Base.OnCleanup = VmbusOnCleanup;
driver->OnMsgDpc = VmbusOnMsgDPC;
driver->OnEventDpc = VmbusOnEventDPC;
driver->GetChannelOffers = VmbusGetChannelOffers;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ struct vmbus_driver {
struct hv_device *ChildDevice);

/* Set by the callee */
void (*OnMsgDpc)(struct hv_driver *driver);
void (*OnEventDpc)(struct hv_driver *driver);
void (*GetChannelOffers)(void);
};

int VmbusInitialize(struct hv_driver *drv);
int vmbus_on_isr(struct hv_driver *drv);
void vmbus_on_msg_dpc(struct hv_driver *drv);

#endif /* _VMBUS_API_H_ */
6 changes: 2 additions & 4 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,14 +849,12 @@ static void vmbus_msg_dpc(unsigned long data)
{
struct vmbus_driver *vmbus_drv_obj = (struct vmbus_driver *)data;

/* ASSERT(vmbus_drv_obj->OnMsgDpc != NULL); */

/* Call to bus driver to handle interrupt */
vmbus_drv_obj->OnMsgDpc(&vmbus_drv_obj->Base);
vmbus_on_msg_dpc(&vmbus_drv_obj->Base);
}

/*
* vmbus_msg_dpc - Tasklet routine to handle hypervisor events
* vmbus_event_dpc - Tasklet routine to handle hypervisor events
*/
static void vmbus_event_dpc(unsigned long data)
{
Expand Down

0 comments on commit 2c305b6

Please sign in to comment.