Date: Fri, 3 Sep 2010 10:24:30 -0700 From: mdf@FreeBSD.org To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r212182 - head/sys/kern Message-ID: <AANLkTi=7%2BTjNVNcJHbqiOWZTwiQLEiE6dkMA9-YTrJPJ@mail.gmail.com> In-Reply-To: <201009031723.o83HNR7k056625@svn.freebsd.org> References: <201009031723.o83HNR7k056625@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 3, 2010 at 10:23 AM, Matthew D Fleming <mdf@freebsd.org> 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) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=7%2BTjNVNcJHbqiOWZTwiQLEiE6dkMA9-YTrJPJ>