diff options
author | Simon Horman <horms@verge.net.au> | 2014-05-14 16:19:35 +0900 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-05-16 09:48:20 -0700 |
commit | e09d61c41b4fe6559de4316d83d9221c254d4b0a (patch) | |
tree | 18399c8285782fdffbf1452abe2eb0b356b727e7 /lib/ovs-atomic.h | |
parent | 0e2a9f6fc28f2d53971a2c0bf93cd6fa577fe5fd (diff) | |
download | openvswitch-e09d61c41b4fe6559de4316d83d9221c254d4b0a.tar.gz |
ovs-atomic: Remove atomic_uint64_t and atomic_int64_t.
Some concern has been raised by Ben Pfaff that atomic_uint64_t may not
be portable. In particular on 32bit platforms that do not have atomic
64bit integers.
Now that there are no longer any users of atomic_uint64_t remove it
entirely. Also remove atomic_int64_t which has no users.
Cc: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ovs-atomic.h')
-rw-r--r-- | lib/ovs-atomic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ovs-atomic.h b/lib/ovs-atomic.h index 01ac8c4f7..c21b7eefe 100644 --- a/lib/ovs-atomic.h +++ b/lib/ovs-atomic.h @@ -69,8 +69,6 @@ * int8_t atomic_int8_t (*) * int16_t atomic_int16_t (*) * int32_t atomic_int32_t (*) - * uint64_t atomic_uint64_t (*) - * int64_t atomic_int64_t (*) * * (*) Not specified by C11. * @@ -296,12 +294,10 @@ typedef ATOMIC(uintptr_t) atomic_uintptr_t; typedef ATOMIC(uint8_t) atomic_uint8_t; typedef ATOMIC(uint16_t) atomic_uint16_t; typedef ATOMIC(uint32_t) atomic_uint32_t; -typedef ATOMIC(uint64_t) atomic_uint64_t; typedef ATOMIC(int8_t) atomic_int8_t; typedef ATOMIC(int16_t) atomic_int16_t; typedef ATOMIC(int32_t) atomic_int32_t; -typedef ATOMIC(int64_t) atomic_int64_t; /* Reference count. */ struct ovs_refcount { |