Staging: hv: make RingInfo->RingLock a real spinlock
commita98f96eed5fa16f4868b4af2d50af77f57a1b231
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Jul 2009 21:55:14 +0000 (15 14:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:48 +0000 (15 12:01 -0700)
tree68fe1c314c1155e1d7fe512e4bcd933e9f06c198
parent54411c425fe0f5f8a5fcc1f3098693419ae87306
Staging: hv: make RingInfo->RingLock 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/RingBuffer.c
drivers/staging/hv/RingBuffer.h