kernel - Add atomic_fetchadd_64()
commitb659e5dd7d917e3bd3c47fbc1a0dd4c3545199e3
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 30 Jun 2015 06:36:00 +0000 (29 23:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 30 Jun 2015 06:36:00 +0000 (29 23:36 -0700)
tree3572bab6bbfabaf70cf94a316b8a988c717e3f5e
parent50214825f27c63ecc042fa3890ead1b4b1fcd675
kernel - Add atomic_fetchadd_64()

* Add an atomic_fetchadd_64() function which hammer2 needs.  This might
  not be possible on e.g. 32-bit architectures for porting purposes but
  for now I don't want to put a lock around the hammer2 functions that
  need it.
sys/cpu/x86_64/include/atomic.h