diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-01-20 16:45:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 09:18:00 -0800 |
commit | 67fae053bfc6e84144150e4c6c62670abb215c33 (patch) | |
tree | a3636a76dc94882f166e95e5ae49a9eed33c5081 /firmware/3com | |
parent | 9c3a6f7e476fc4961297fc66b1177f9f8c8dd238 (diff) |
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 'firmware/3com')
0 files changed, 0 insertions, 0 deletions