summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2015-01-20 16:45:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-25 09:18:00 -0800
commit67fae053bfc6e84144150e4c6c62670abb215c33 (patch)
treea3636a76dc94882f166e95e5ae49a9eed33c5081 /drivers/hv/hv.c
parent9c3a6f7e476fc4961297fc66b1177f9f8c8dd238 (diff)
downloadlinux-67fae053bfc6e84144150e4c6c62670abb215c33.tar.gz
linux-67fae053bfc6e84144150e4c6c62670abb215c33.tar.bz2
linux-67fae053bfc6e84144150e4c6c62670abb215c33.zip
Drivers: hv: rename sc_lock to the more generic lock
sc_lock spinlock in struct vmbus_channel is being used to not only protect the sc_list field, e.g. vmbus_open() function uses it to implement test-and-set access to the state field. Rename it to the more generic 'lock' and add the description. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
0 files changed, 0 insertions, 0 deletions