From dd0813b6f51b33529f37ba43334ac65e82d772e8 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 15 Jul 2009 14:56:45 -0700 Subject: 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 Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/VmbusPrivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/hv/VmbusPrivate.h') diff --git a/drivers/staging/hv/VmbusPrivate.h b/drivers/staging/hv/VmbusPrivate.h index 671a1e15bd5..eb8fc8f24a7 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; -- cgit v1.2.3