]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sx: fix compilation on UP kernels after r313855
authormjg <mjg@FreeBSD.org>
Fri, 17 Feb 2017 10:58:12 +0000 (10:58 +0000)
committermjg <mjg@FreeBSD.org>
Fri, 17 Feb 2017 10:58:12 +0000 (10:58 +0000)
commitce6402c26313604e97d80ebe8fe2c5c427e6887a
tree1a3c7dca02e815687b393755170c3dc77eb3a753
parent51f3ae3ea663c6785b9e8534c1bacbd90433c13d
sx: fix compilation on UP kernels after r313855

sx primitives use inlines as opposed to macros. Change the tested condition
to LOCK_DEBUG which covers the case, but is slightly overzelaous.

Reported by: kib
sys/kern/kern_sx.c