summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Vmbus.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-07-29 21:00:09 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:53 (GMT)
commitde65a38406bdf712abc2a845fe1f3db7d1a083ed (patch)
treecd4d9f38dd90c6bfc5a5667bc2c4fcc4481d2f8b /drivers/staging/hv/Vmbus.c
parent949cadaa054588db0c4a3a0cfc3ac93f08fda913 (diff)
downloadlinux-fsl-qoriq-de65a38406bdf712abc2a845fe1f3db7d1a083ed.tar.xz
Staging: hv: rework use of workqueues in osd
Change the usage of workqueues to be consistant with other parts of the kernel. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Vmbus.c')
-rw-r--r--drivers/staging/hv/Vmbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/hv/Vmbus.c b/drivers/staging/hv/Vmbus.c
index c8e0df6..13d7ac8 100644
--- a/drivers/staging/hv/Vmbus.c
+++ b/drivers/staging/hv/Vmbus.c
@@ -423,7 +423,9 @@ VmbusOnMsgDPC(
}
memcpy(copied, msg, sizeof(HV_MESSAGE));
- WorkQueueQueueWorkItem(gVmbusConnection.WorkQueue, VmbusOnChannelMessage, (void*)copied);
+ osd_schedule_callback(gVmbusConnection.WorkQueue,
+ VmbusOnChannelMessage,
+ (void *)copied);
}
msg->Header.MessageType = HvMessageTypeNone;