hv: pass integer to tasklet_init()

tasklet_init() takes an integer, so use one right away.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Olaf Hering 2011-04-16 18:50:41 +02:00 committed by Greg Kroah-Hartman
parent 35436487e9
commit 8fea1912ce
1 changed files with 2 additions and 4 deletions

View File

@ -578,10 +578,8 @@ static int vmbus_bus_init(struct pci_dev *pdev)
hv_bus.bus.name = driver_name;
/* Initialize the bus context */
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc,
(unsigned long)NULL);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event,
(unsigned long)NULL);
tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc, 0);
tasklet_init(&hv_bus.event_dpc, vmbus_on_event, 0);
/* Now, register the bus with LDM */
ret = bus_register(&hv_bus.bus);