diff options
author | Greg Kroah-Hartman | 2009-07-15 23:57:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:01:48 +0200 |
commit | 0f5e44ca6e777660af6b0eb44d4787563932eda8 (patch) | |
tree | 63e1c8598cc093682747da8587292a638a44e68e /drivers/staging/hv/VmbusPrivate.h | |
parent | Staging: hv: make gVmbusConnection.ChannelMsgLock a real spinlock (diff) | |
download | kernel-qcow2-linux-0f5e44ca6e777660af6b0eb44d4787563932eda8.tar.gz kernel-qcow2-linux-0f5e44ca6e777660af6b0eb44d4787563932eda8.tar.xz kernel-qcow2-linux-0f5e44ca6e777660af6b0eb44d4787563932eda8.zip |
Staging: hv: make gVmbusConnection.ChannelLock a real spinlock
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/VmbusPrivate.h')
-rw-r--r-- | drivers/staging/hv/VmbusPrivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/VmbusPrivate.h b/drivers/staging/hv/VmbusPrivate.h index eb8fc8f24a74..686d05f21ed8 100644 --- a/drivers/staging/hv/VmbusPrivate.h +++ b/drivers/staging/hv/VmbusPrivate.h @@ -84,7 +84,7 @@ typedef struct _VMBUS_CONNECTION { // List of channels LIST_ENTRY ChannelList; - HANDLE ChannelLock; + spinlock_t channel_lock; HANDLE WorkQueue; } VMBUS_CONNECTION; |