diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-29 17:00:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:53 -0700 |
commit | f4888417083723c4f5cbfdf4895653279ffdc31e (patch) | |
tree | 4ee4e2bcda543e30f9e76925edaf796de8a922bb /drivers/staging/hv/NetVsc.h | |
parent | 7c369f405bc918f3245c7ee0b0ad6c6b6c750166 (diff) | |
download | op-kernel-dev-f4888417083723c4f5cbfdf4895653279ffdc31e.zip op-kernel-dev-f4888417083723c4f5cbfdf4895653279ffdc31e.tar.gz |
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.h | 5 |
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; |