sx: increment spin_cnt before cpu_spinwait in xlock
authormjg <mjg@FreeBSD.org>
Sat, 30 Jul 2016 22:23:31 +0000 (22:23 +0000)
committermjg <mjg@FreeBSD.org>
Sat, 30 Jul 2016 22:23:31 +0000 (22:23 +0000)
commita2a371f3c80f511e74fb1c152cbcc085c872e2d5
tree200ce50825745f297b323c0a881f51371bbc11a0
parent636d512a652e61c747e1d2eed4c2efa844e0e6ec
sx: increment spin_cnt before cpu_spinwait in xlock

The change is a no-op only done for consistency with the rest of the file.
sys/kern/kern_sx.c