From owner-svn-src-head@FreeBSD.ORG Fri Sep 3 17:24:32 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC6DD10656C5; Fri, 3 Sep 2010 17:24:32 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2E5BC8FC15; Fri, 3 Sep 2010 17:24:31 +0000 (UTC) Received: by yxn35 with SMTP id 35so953810yxn.13 for ; Fri, 03 Sep 2010 10:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=IdZjaeAUZtBS5oAh8IQDNqU4MspkP8sBFYi3RXfQCuY=; b=LECq5/Xx7Bo6byxXSM6z/tD1JqEeETpN3q2jj4bltSnXpss9WQpz0sK5YdaVNfZI7Y Ao4S1TdJqSG4+YN2aLbZfjbq9H/3ZxVu88bZ+ax63Ixqt73fmReSC1bjUDAe0snGAIOD mO1GMRg2T5OWyWWRGY9yeJz85RWEjt8O4nxB8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=cy55TizRnJCAi5eCsmu+w9a6oYskgrlHxAgqlyxODGSOfWW5dEZCswMUVXohq1UQ1+ qa/+rZo6O1NacdCMqe5MieJrvkovMvBvyobgEjEUjD03jGillRJiJgQY2Pc9UMVFF/8A DIf0kidAMXCfu6hr0vUlzR+JW2zG9U7PWgoLM= MIME-Version: 1.0 Received: by 10.101.28.4 with SMTP id f4mr549417anj.181.1283534671023; Fri, 03 Sep 2010 10:24:31 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.100.39.17 with HTTP; Fri, 3 Sep 2010 10:24:30 -0700 (PDT) In-Reply-To: <201009031723.o83HNR7k056625@svn.freebsd.org> References: <201009031723.o83HNR7k056625@svn.freebsd.org> Date: Fri, 3 Sep 2010 10:24:30 -0700 X-Google-Sender-Auth: gmZpXwc34-Mfua9RMwzqoj4Ai44 Message-ID: From: mdf@FreeBSD.org To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: svn commit: r212182 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 17:24:33 -0000 On Fri, Sep 3, 2010 at 10:23 AM, Matthew D Fleming wrote: > Author: mdf > Date: Fri Sep =A03 17:23:26 2010 > New Revision: 212182 > URL: http://svn.freebsd.org/changeset/base/212182 > > Log: > =A0Fix user-space libsbuf build. =A0Why isn't CTASSERT available to > =A0user-space? Sorry for the churn. I am having a un-careful morning, it appears. Thanks, matthew > > Modified: > =A0head/sys/kern/subr_sbuf.c > > Modified: head/sys/kern/subr_sbuf.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/kern/subr_sbuf.c =A0 Fri Sep =A03 16:12:39 2010 =A0 =A0 =A0 = =A0(r212181) > +++ head/sys/kern/subr_sbuf.c =A0 Fri Sep =A03 17:23:26 2010 =A0 =A0 =A0 = =A0(r212182) > @@ -116,8 +116,10 @@ _assert_sbuf_state(const char *fun, stru > > =A0#endif /* _KERNEL && INVARIANTS */ > > +#ifdef _KERNEL > =A0CTASSERT(powerof2(SBUF_MAXEXTENDSIZE)); > =A0CTASSERT(powerof2(SBUF_MAXEXTENDINCR)); > +#endif > > =A0static int > =A0sbuf_extendsize(int size) >