summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sx.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:54:19 +0000
commitf6a71a40b2504dd316580a282777fc25cc857800 (patch)
tree9d6d1197b3a2cec7041211531dd927ad547788ce /sys/kern/kern_sx.c
parent536d58a251b1ba1915a1b29f23d1f9b221352d4a (diff)
downloadFreeBSD-src-f6a71a40b2504dd316580a282777fc25cc857800.zip
FreeBSD-src-f6a71a40b2504dd316580a282777fc25cc857800.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the kernel changes.
Diffstat (limited to 'sys/kern/kern_sx.c')
-rw-r--r--sys/kern/kern_sx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c
index 74d1cc8..1333c66 100644
--- a/sys/kern/kern_sx.c
+++ b/sys/kern/kern_sx.c
@@ -137,8 +137,8 @@ struct lock_class lock_class_sx = {
static u_int asx_retries = 10;
static u_int asx_loops = 10000;
SYSCTL_NODE(_debug, OID_AUTO, sx, CTLFLAG_RD, NULL, "sxlock debugging");
-SYSCTL_INT(_debug_sx, OID_AUTO, retries, CTLFLAG_RW, &asx_retries, 0, "");
-SYSCTL_INT(_debug_sx, OID_AUTO, loops, CTLFLAG_RW, &asx_loops, 0, "");
+SYSCTL_UINT(_debug_sx, OID_AUTO, retries, CTLFLAG_RW, &asx_retries, 0, "");
+SYSCTL_UINT(_debug_sx, OID_AUTO, loops, CTLFLAG_RW, &asx_loops, 0, "");
#endif
void
OpenPOWER on IntegriCloud