Date: Mon, 14 May 2018 11:42:29 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Matt Macy <mmacy@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r333597 - head/sys/sys Message-ID: <20180514084229.GD6887@kib.kiev.ua> In-Reply-To: <201805140056.w4E0uXUA043719@repo.freebsd.org> References: <201805140056.w4E0uXUA043719@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 14, 2018 at 12:56:33AM +0000, Matt Macy wrote: > Author: mmacy > Date: Mon May 14 00:56:33 2018 > New Revision: 333597 > URL: https://svnweb.freebsd.org/changeset/base/333597 > > Log: > pmc: fix buildworld > > hid ck_queue.h from user > > Approved by: sbruno > > Modified: > head/sys/sys/pmc.h > > Modified: head/sys/sys/pmc.h > ============================================================================== > --- head/sys/sys/pmc.h Mon May 14 00:21:04 2018 (r333596) > +++ head/sys/sys/pmc.h Mon May 14 00:56:33 2018 (r333597) > @@ -40,8 +40,10 @@ > #include <sys/counter.h> > #include <machine/pmc_mdep.h> > #include <machine/profile.h> > +#ifdef _KERNEL > #include <sys/epoch.h> > #include <ck_queue.h> Kernel must not use userspace headers. > +#endif > > #define PMC_MODULE_NAME "hwpmc" > #define PMC_NAME_MAX 64 /* HW counter name size */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180514084229.GD6887>