svn commit: r333597 - head/sys/sys
Konstantin Belousov
kostikbel at gmail.com
Mon May 14 08:42:41 UTC 2018
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 */
More information about the svn-src-all
mailing list