diff options
author | Dexuan Cui <decui@microsoft.com> | 2015-12-14 16:01:51 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 19:15:05 -0800 |
commit | d6f591e339d23f434efda11917da511870891472 (patch) | |
tree | 031bf2d9e6c519789fe7413d75587c87a00d334c /drivers/hv/hyperv_vmbus.h | |
parent | f52078cf5711ce47c113a58702b35c8ff5f212f5 (diff) | |
download | linux-stable-d6f591e339d23f434efda11917da511870891472.tar.gz linux-stable-d6f591e339d23f434efda11917da511870891472.tar.bz2 linux-stable-d6f591e339d23f434efda11917da511870891472.zip |
Drivers: hv: vmbus: channge vmbus_connection.channel_lock to mutex
spinlock is unnecessary here.
mutex is enough.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 9beeb148797f..4d67e984ac4f 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -683,7 +683,7 @@ struct vmbus_connection { /* List of channels */ struct list_head chn_list; - spinlock_t channel_lock; + struct mutex channel_mutex; struct workqueue_struct *work_queue; }; |