From owner-svn-src-all@FreeBSD.ORG Fri May 29 08:01:49 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F7FE10656D9; Fri, 29 May 2009 08:01:49 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 979A28FC0A; Fri, 29 May 2009 08:01:48 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4T81mmh064217; Fri, 29 May 2009 08:01:48 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4T81mf7064216; Fri, 29 May 2009 08:01:48 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <200905290801.n4T81mf7064216@svn.freebsd.org> From: Attilio Rao Date: Fri, 29 May 2009 08:01:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193025 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 08:01:49 -0000 Author: attilio Date: Fri May 29 08:01:48 2009 New Revision: 193025 URL: http://svn.freebsd.org/changeset/base/193025 Log: The patch for r193011 was partially rejected when applied, complete it. Modified: head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_sx.c ============================================================================== --- head/sys/kern/kern_sx.c Fri May 29 07:55:44 2009 (r193024) +++ head/sys/kern/kern_sx.c Fri May 29 08:01:48 2009 (r193025) @@ -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