ovs-atomic: Add native Clang implementation.
authorBen Pfaff <blp@nicira.com>
Mon, 26 Aug 2013 20:03:02 +0000 (13:03 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 26 Aug 2013 20:03:02 +0000 (13:03 -0700)
commit29ab0cf77c2a03e1c5e61f8899c33ad74762a710
treef954a6fba708f6d3354ae9e1027a8e94ca34dbf0
parent1dd16b9a274afbde46c9d9a4052d720d4cf3c3e2
ovs-atomic: Add native Clang implementation.

With this implementation I get warnings with Clang on GNU/Linux when the
previous patch is not applied.  This ought to make it easier to avoid
introducing new problems in the future even without building on FreeBSD.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
lib/automake.mk
lib/compiler.h
lib/ovs-atomic-clang.h [new file with mode: 0644]
lib/ovs-atomic-flag-gcc4.7+.h [new file with mode: 0644]
lib/ovs-atomic-gcc4.7+.h
lib/ovs-atomic.h