Staging: hv: make netDevice->ReceivePacketListLock a real spinlock
commit6436873afce6f20fecc0c5099db899b25e1e6c2b
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Jul 2009 21:56:15 +0000 (15 14:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:48 +0000 (15 12:01 -0700)
tree4408cd43b5b17d6709e885afe77032b8ddf9a664
parent880fb89c1f23c17de6c964dca7943d2f76a8e17c
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>
drivers/staging/hv/NetVsc.c
drivers/staging/hv/NetVsc.h