kernel - Misc bug fixes and enhancements
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Jun 2016 21:48:34 +0000 (14:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Jun 2016 21:48:34 +0000 (14:48 -0700)
commitfb85f6cf0bcd2383122bab7fa50ff5b0c9d7778b
tree89d12a3ea4da2222fa034ddc958dde548f95ed9f
parent7767d389a9d16876a2fcf4faba411aa322917991
kernel - Misc bug fixes and enhancements

* Add atomic_*_64() for 64-bit-explicit calls.  This way if a platform
  doesn't support 64-bit atomic ops H2 will at least get a compile error.

* Fix bug in sys/mutex2.h.  mtx_upgrade_try() was not setting mtx_owner
  on success.

* Enhance assertion panic message in lockmgr_kernproc().
sys/cpu/x86_64/include/atomic.h
sys/kern/kern_lock.c
sys/sys/mutex2.h