Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2014 21:40:15 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r271239 - stable/10/sys/ia64/include
Message-ID:  <201409072140.s87LeFUK022506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409072140.s87LeFUK022506>