Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236537
b: refs/heads/master
c: 62c1059
h: refs/heads/master
i:
  236535: 233cc7c
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 155d380 commit b5effe6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: 21ec2de26a418e8a5839f2d260876b952a61b9ac
refs/heads/master: 62c1059d6e20fe23e9e36cd1e79fafb778c86627
15 changes: 2 additions & 13 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ static int vmbus_probe(struct device *device);
static int vmbus_remove(struct device *device);
static void vmbus_shutdown(struct device *device);
static int vmbus_uevent(struct device *device, struct kobj_uevent_env *env);
static void vmbus_msg_dpc(unsigned long data);
static void vmbus_event_dpc(unsigned long data);

static irqreturn_t vmbus_isr(int irq, void *dev_id);
Expand Down Expand Up @@ -214,7 +213,7 @@ static void vmbus_onmessage_work(struct work_struct *work)
/*
* vmbus_on_msg_dpc - DPC routine to handle messages from the hypervisior
*/
static void vmbus_on_msg_dpc(struct hv_driver *drv)
static void vmbus_on_msg_dpc(unsigned long data)
{
int cpu = smp_processor_id();
void *page_addr = hv_context.synic_message_page[cpu];
Expand Down Expand Up @@ -484,7 +483,7 @@ static int vmbus_bus_init(void)
vmbus_drv_ctx->bus.name = driver_name;

/* Initialize the bus context */
tasklet_init(&vmbus_drv_ctx->msg_dpc, vmbus_msg_dpc,
tasklet_init(&vmbus_drv_ctx->msg_dpc, vmbus_on_msg_dpc,
(unsigned long)NULL);
tasklet_init(&vmbus_drv_ctx->event_dpc, vmbus_event_dpc,
(unsigned long)NULL);
Expand Down Expand Up @@ -985,16 +984,6 @@ static void vmbus_device_release(struct device *device)
/* !!DO NOT REFERENCE device_ctx anymore at this point!! */
}

/*
* vmbus_msg_dpc - Tasklet routine to handle hypervisor messages
*/
static void vmbus_msg_dpc(unsigned long data)
{
struct hv_driver *driver = (struct hv_driver *)data;

/* Call to bus driver to handle interrupt */
vmbus_on_msg_dpc(driver);
}

/*
* vmbus_event_dpc - Tasklet routine to handle hypervisor events
Expand Down

0 comments on commit b5effe6

Please sign in to comment.