Date: Mon, 14 May 2018 00:56:33 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333597 - head/sys/sys Message-ID: <201805140056.w4E0uXUA043719@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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> +#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?201805140056.w4E0uXUA043719>