summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJake Oshins <jakeo@microsoft.com>2016-08-30 00:35:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-15 08:27:50 +0200
commit45a063156fc5822f3f72bee0bc986de63e7ed73b (patch)
tree164e68c0864199f311a9236ac3a8d796739fd97d /lib
parentd4009e4b6e309e222c5245056f4d6e1a4da88026 (diff)
drivers:hv: Lock access to hyperv_mmio resource tree
[ Upstream commit e16dad6bfe1437aaee565f875a6713ca7ce81bdf ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions