summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/NetVsc.h
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-07-29 21:00:12 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:53 (GMT)
commitf4888417083723c4f5cbfdf4895653279ffdc31e (patch)
tree4ee4e2bcda543e30f9e76925edaf796de8a922bb /drivers/staging/hv/NetVsc.h
parent7c369f405bc918f3245c7ee0b0ad6c6b6c750166 (diff)
downloadlinux-fsl-qoriq-f4888417083723c4f5cbfdf4895653279ffdc31e.tar.xz
Staging: hv: remove wrapper functions for atomic operations
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Hank Janssen <hjanssen@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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/hv/NetVsc.h b/drivers/staging/hv/NetVsc.h
index 0389318..770a7b4 100644
--- a/drivers/staging/hv/NetVsc.h
+++ b/drivers/staging/hv/NetVsc.h
@@ -57,9 +57,8 @@
struct NETVSC_DEVICE {
struct hv_device *Device;
- int RefCount;
-
- int NumOutstandingSends;
+ atomic_t RefCount;
+ atomic_t NumOutstandingSends;
/* List of free preallocated hv_netvsc_packet to represent receive packet */
LIST_ENTRY ReceivePacketList;
spinlock_t receive_packet_list_lock;