summaryrefslogtreecommitdiff
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorJake Oshins <jakeo@microsoft.com>2016-04-05 20:22:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-01 00:01:37 +0300
commite16dad6bfe1437aaee565f875a6713ca7ce81bdf (patch)
tree9b49cee2a34adeea5ada23ceffb08fa5ce6c8b21 /include/linux/hyperv.h
parentab028db41ca9174caab7f9e3fc0a2e7f4a418410 (diff)
downloadlinux-e16dad6bfe1437aaee565f875a6713ca7ce81bdf.tar.xz
drivers:hv: Lock access to hyperv_mmio resource tree
In existing code, this tree of resources is created in single-threaded code and never modified after it is created, and thus needs no locking. This patch introduces a semaphore for tree access, as other patches in this series introduce run-time modifications of this resource tree which can happen on multiple threads. Signed-off-by: Jake Oshins <jakeo@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
0 files changed, 0 insertions, 0 deletions