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:28:33 +0000 (09:28 -0700)
commit0e2a9f6fc28f2d53971a2c0bf93cd6fa577fe5fd
tree0e3a0124e4fbc86edf24f5ab34f1baca0ab6e660
parent349fbdc296118b6706f3b2af9551ed59109508d7
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