OSDN Git Service

vmbus: use kernel bitops for traversing interrupt mask
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 6 Feb 2017 00:20:31 +0000 (17:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2017 14:43:30 +0000 (15:43 +0100)
commit5c1bec61fdfcd056df909a712e2a86bbaeb0f942
tree625f0c6561886c50334e81042e0d267390e485fc
parentbb6a4db92f8345a210b369b791e6920253b10437
vmbus: use kernel bitops for traversing interrupt mask

Use standard kernel operations for find first set bit to traverse
the channel bit array. This has added benefit of speeding up
lookup on 64 bit and because it uses find first set instruction.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/connection.c
drivers/hv/hyperv_vmbus.h
drivers/hv/vmbus_drv.c