kernel - Use __predict_* in spinlock2.h
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Feb 2017 02:32:17 +0000 (18:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 7 Feb 2017 02:32:17 +0000 (18:32 -0800)
commitf6a440a9b21bd00d29047a7cae7ec1a721573909
treec4624459e6fa7688fc4cc4294bfc438bd60f6016
parentabc0cda7b4a0a92afab15645d5adfac57af02866
kernel - Use __predict_* in spinlock2.h

* Use the __predict_* attributes in the spinlock hot-path.

Suggested-by: Mateusz Guzik
sys/sys/spinlock2.h