summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/VmbusPrivate.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-07-15 23:57:16 +0200
committerGreg Kroah-Hartman2009-09-15 21:01:48 +0200
commit0f5e44ca6e777660af6b0eb44d4787563932eda8 (patch)
tree63e1c8598cc093682747da8587292a638a44e68e /drivers/staging/hv/VmbusPrivate.h
parentStaging: hv: make gVmbusConnection.ChannelMsgLock a real spinlock (diff)
downloadkernel-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.h2
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;