]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: hv: use sync_bitops when interacting with the hypervisor
authorOlaf Hering <olaf@aepfle.de>
Mon, 21 Mar 2011 13:41:37 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 04:33:25 +0000 (21:33 -0700)
commit22356585712d1ff08fbfed152edd8b386873b238
treeaeb0a6192077d4865d06f6b35cdbf789b390ca99
parent75e4fb221babbe329c1aba8c34092d29034f1545
staging: hv: use sync_bitops when interacting with the hypervisor

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.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: stable <stable@kernel.org>
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_drv.c
drivers/staging/hv/vmbus_private.h