summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/VmbusPrivate.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-15 21:57:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:48 (GMT)
commit0f5e44ca6e777660af6b0eb44d4787563932eda8 (patch)
tree63e1c8598cc093682747da8587292a638a44e68e /drivers/staging/hv/VmbusPrivate.h
parentdd0813b6f51b33529f37ba43334ac65e82d772e8 (diff)
downloadlinux-fsl-qoriq-0f5e44ca6e777660af6b0eb44d4787563932eda8.tar.xz
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 eb8fc8f..686d05f 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;