diff options
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 0389318f2a2..770a7b46c2c 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; |