diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 14:56:45 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:48 -0700 |
commit | dd0813b6f51b33529f37ba43334ac65e82d772e8 (patch) | |
tree | 480924fd5a542fee8415d03b31d745a11b2d543c /drivers/staging/hv/VmbusPrivate.h | |
parent | 6436873afce6f20fecc0c5099db899b25e1e6c2b (diff) | |
download | op-kernel-dev-dd0813b6f51b33529f37ba43334ac65e82d772e8.zip op-kernel-dev-dd0813b6f51b33529f37ba43334ac65e82d772e8.tar.gz |
Staging: hv: make gVmbusConnection.ChannelMsgLock 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 671a1e1..eb8fc8f 100644 --- a/drivers/staging/hv/VmbusPrivate.h +++ b/drivers/staging/hv/VmbusPrivate.h @@ -80,7 +80,7 @@ typedef struct _VMBUS_CONNECTION { // 2 pages - 1st page for parent->child notification and 2nd is child->parent notification void * MonitorPages; LIST_ENTRY ChannelMsgList; - HANDLE ChannelMsgLock; + spinlock_t channelmsg_lock; // List of channels LIST_ENTRY ChannelList; |