]> git.karo-electronics.de Git - mv-sheeva.git/commit
staging: hv: convert vmbus_on_msg_dpc to not call osd_schedule_callback
authorTimo Teräs <timo.teras@iki.fi>
Wed, 15 Dec 2010 18:48:08 +0000 (20:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 20:35:14 +0000 (12:35 -0800)
commitbf6506f60c46c8a709df534408cc6d470df657ff
treeb870adf16c465d746796cda01def14d7a8d97046
parentf4528696d803749892eac27422a6fd7748cffee1
staging: hv: convert vmbus_on_msg_dpc to not call osd_schedule_callback

The additional abstraction is unneeded. This also fixes a sleeping
while atomic issue as osd_schedule_callback can sleep which is
not allowed for vmbus_on_msg_dpc running in a tasklet.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=16701

Reviewed-By: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel_mgmt.c
drivers/staging/hv/vmbus_drv.c