diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-01-21 17:52:55 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-01-21 17:52:55 +0000 |
commit | 6bd95caf293cb5235dc170854e683462f4230ddf (patch) | |
tree | 8daa887201bd2fc889c91c6322e6b28a53fe4155 /contrib/llvm/lib/Support/COM.cpp | |
parent | b0fce449a8e83171ebdc4b8beca48d736d6ea82b (diff) | |
download | FreeBSD-src-6bd95caf293cb5235dc170854e683462f4230ddf.zip FreeBSD-src-6bd95caf293cb5235dc170854e683462f4230ddf.tar.gz |
LinuxKPI atomic fixes:
- Fix implementation of atomic_add_unless(). The atomic_cmpset_int()
function returns a boolean and not the previous value of the atomic
variable.
- The atomic counters should be signed according to Linux.
- Some minor cosmetics and styling while at it.
Reviewed by: alfred @
MFC after: 1 week
Sponsored by: Mellanox Technologies
Diffstat (limited to 'contrib/llvm/lib/Support/COM.cpp')
0 files changed, 0 insertions, 0 deletions