From e31d083357ee589a5bfce222efbfddad61f7915f Mon Sep 17 00:00:00 2001 From: Attilio Rao Date: Fri, 29 May 2009 08:01:48 +0000 Subject: [PATCH] The patch for r193011 was partially rejected when applied, complete it. --- sys/kern/kern_sx.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c index 9e2a1fb3db5..634225281fa 100644 --- a/sys/kern/kern_sx.c +++ b/sys/kern/kern_sx.c @@ -36,23 +36,25 @@ * so should not be relied upon in combination with sx locks. */ -#include "opt_adaptive_sx.h" #include "opt_ddb.h" #include "opt_kdtrace.h" +#include "opt_no_adaptive_sx.h" #include __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include #include #include +#include #include -#ifdef ADAPTIVE_SX +#if defined(SMP) && !defined(NO_ADAPTIVE_SX) #include #endif