svn commit: r333597 - head/sys/sys

Matt Macy mmacy at FreeBSD.org
Mon May 14 00:56:34 UTC 2018


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 */


More information about the svn-src-head mailing list