From 54411c425fe0f5f8a5fcc1f3098693419ae87306 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 15 Jul 2009 14:48:32 -0700 Subject: Staging: hv: make Channel->InboundLock 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/ChannelMgmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/hv/ChannelMgmt.h') diff --git a/drivers/staging/hv/ChannelMgmt.h b/drivers/staging/hv/ChannelMgmt.h index b1ea2fc280c..b7afecad045 100644 --- a/drivers/staging/hv/ChannelMgmt.h +++ b/drivers/staging/hv/ChannelMgmt.h @@ -63,7 +63,7 @@ typedef struct _VMBUS_CHANNEL { u32 RingBufferPageCount; RING_BUFFER_INFO Outbound; // send to parent RING_BUFFER_INFO Inbound; // receive from parent - HANDLE InboundLock; + spinlock_t inbound_lock; HANDLE ControlWQ; // Channel callback are invoked in this workqueue context -- cgit v1.2.3