diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 14:56:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:48 -0700 |
commit | 6436873afce6f20fecc0c5099db899b25e1e6c2b (patch) | |
tree | 4408cd43b5b17d6709e885afe77032b8ddf9a664 /drivers/staging/hv/NetVsc.h | |
parent | 880fb89c1f23c17de6c964dca7943d2f76a8e17c (diff) |
Staging: hv: make netDevice->ReceivePacketListLock 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/NetVsc.h')
-rw-r--r-- | drivers/staging/hv/NetVsc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/NetVsc.h b/drivers/staging/hv/NetVsc.h index 3a7999db851f..d6b0d678c81c 100644 --- a/drivers/staging/hv/NetVsc.h +++ b/drivers/staging/hv/NetVsc.h @@ -62,7 +62,7 @@ typedef struct _NETVSC_DEVICE { int NumOutstandingSends; // List of free preallocated NETVSC_PACKET to represent receive packet LIST_ENTRY ReceivePacketList; - HANDLE ReceivePacketListLock; + spinlock_t receive_packet_list_lock; // Send buffer allocated by us but manages by NetVSP void * SendBuffer; |