svn commit: r271239 - stable/10/sys/ia64/include

Marcel Moolenaar marcel at FreeBSD.org
Sun Sep 7 21:40:15 UTC 2014


Author: marcel
Date: Sun Sep  7 21:40:14 2014
New Revision: 271239
URL: http://svnweb.freebsd.org/changeset/base/271239

Log:
  Fix previous commit: unbreak build of libkvm by including sys/systm.h
  only when _KERNEL is defined.
  
  Approved by:	re@ (implicit)

Modified:
  stable/10/sys/ia64/include/pcpu.h

Modified: stable/10/sys/ia64/include/pcpu.h
==============================================================================
--- stable/10/sys/ia64/include/pcpu.h	Sun Sep  7 21:30:47 2014	(r271238)
+++ stable/10/sys/ia64/include/pcpu.h	Sun Sep  7 21:40:14 2014	(r271239)
@@ -31,7 +31,6 @@
 #define	_MACHINE_PCPU_H_
 
 #include <sys/sysctl.h>
-#include <sys/systm.h>
 #include <machine/pcb.h>
 
 struct pcpu_stats {
@@ -72,6 +71,8 @@ struct pcpu_md {
 
 #ifdef _KERNEL
 
+#include <sys/systm.h>
+
 struct pcpu;
 
 register struct pcpu * volatile pcpup __asm__("r13");


More information about the svn-src-all mailing list