ofproto-dpif-upcall: Use atomic_long in struct udpif
authorSimon Horman <horms@verge.net.au>
Wed, 14 May 2014 07:19:34 +0000 (16:19 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 16 May 2014 16:52:40 +0000 (09:52 -0700)
commit49fc439de3c983e71b57ae11af552f88961a909f
treeaa72da0b71923c747ebfddf5555fce2df6e05da8
parent1340ce0c17562e3b0af6c6c117d43bc93372ee79
ofproto-dpif-upcall: Use atomic_long in struct udpif

Some concern has been raised by Ben Pfaff that atomic_uint64_t may not
be portable. Accordingly, use atomic_ulong instead of atomic_uint64_t
in struct ofproto.

This is in preparation for removing atomic_uint64_t entirely.

Cc: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-upcall.c