]> git.karo-electronics.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:56:55 +0000 (10:56 -0400)
commit7095248f1bf1448263ef8279f7f274a99e026c9d
tree0b352e1b06f2ac9865b886ef5e260bedb9bb4e6d
parent592cb965393789cdbb967264ea7651f000ec07cd
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.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/hv/Channel.c
drivers/staging/hv/Connection.c
drivers/staging/hv/Vmbus.c
drivers/staging/hv/VmbusPrivate.h