staging: hv: use sync_bitops when interacting with the hypervisor
commit11ab4496cef99774228a43f653ebb75a76e878d8
authorOlaf Hering <olaf@aepfle.de>
Mon, 21 Mar 2011 13:41:37 +0000 (21 14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 14 Apr 2011 23:53:23 +0000 (14 16:53 -0700)
treeef067c906a5cbbd8b94035d0ae972a5c8fdb52de
parentaf352e45db3bebb85dead5a541300f3f9a0c824c
staging: hv: use sync_bitops when interacting with the hypervisor

commit 22356585712d1ff08fbfed152edd8b386873b238 upstream.

Locking is required when tweaking bits located in a shared page, use the
sync_ version of bitops. Without this change vmbus_on_event() will miss
events and as a result, vmbus_isr() will not schedule the receive tasklet.

[Backported to 2.6.32 stable kernel by Haiyang Zhang <haiyangz@microsoft.com>]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Acked-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Channel.c
drivers/staging/hv/Connection.c
drivers/staging/hv/Vmbus.c
drivers/staging/hv/VmbusPrivate.h