freebsd-dev/sys/compat/linuxkpi/common/include
Hans Petter Selasky 29cbb3bef2 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
2016-01-21 17:52:55 +00:00
..
asm LinuxKPI atomic fixes: 2016-01-21 17:52:55 +00:00
linux Use function macro instead of non-function macro to reduce chance of 2016-01-21 17:36:06 +00:00
net