Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 10:05:13 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228433 - in head/sys: kern security/mac
Message-ID:  <201112121005.pBCA5Dar093711@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Mon Dec 12 10:05:13 2011
New Revision: 228433
URL: http://svn.freebsd.org/changeset/base/228433

Log:
  put sys/systm.h at its proper place or add it if missing
  
  Reported by:	lstewart, tinderbox
  Pointyhat to:	avg, attilio
  MFC after:	1 week
  MFC with:	r228430

Modified:
  head/sys/kern/kern_sx.c
  head/sys/kern/vfs_cache.c
  head/sys/security/mac/mac_framework.c
  head/sys/security/mac/mac_priv.c

Modified: head/sys/kern/kern_sx.c
==============================================================================
--- head/sys/kern/kern_sx.c	Mon Dec 12 10:04:04 2011	(r228432)
+++ head/sys/kern/kern_sx.c	Mon Dec 12 10:05:13 2011	(r228433)
@@ -44,6 +44,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/ktr.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>
@@ -51,7 +52,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/sleepqueue.h>
 #include <sys/sx.h>
 #include <sys/sysctl.h>
-#include <sys/systm.h>
 
 #if defined(SMP) && !defined(NO_ADAPTIVE_SX)
 #include <machine/cpu.h>

Modified: head/sys/kern/vfs_cache.c
==============================================================================
--- head/sys/kern/vfs_cache.c	Mon Dec 12 10:04:04 2011	(r228432)
+++ head/sys/kern/vfs_cache.c	Mon Dec 12 10:05:13 2011	(r228433)
@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
 #include "opt_ktrace.h"
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/filedesc.h>
 #include <sys/fnv_hash.h>
 #include <sys/kernel.h>
@@ -52,7 +53,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysproto.h>
-#include <sys/systm.h>
 #include <sys/vnode.h>
 #ifdef KTRACE
 #include <sys/ktrace.h>

Modified: head/sys/security/mac/mac_framework.c
==============================================================================
--- head/sys/security/mac/mac_framework.c	Mon Dec 12 10:04:04 2011	(r228432)
+++ head/sys/security/mac/mac_framework.c	Mon Dec 12 10:05:13 2011	(r228433)
@@ -73,6 +73,7 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/condvar.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
@@ -81,7 +82,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/rmlock.h>
 #include <sys/sdt.h>
 #include <sys/sx.h>
-#include <sys/systm.h>
 #include <sys/sysctl.h>
 
 #include <security/mac/mac_framework.h>

Modified: head/sys/security/mac/mac_priv.c
==============================================================================
--- head/sys/security/mac/mac_priv.c	Mon Dec 12 10:04:04 2011	(r228432)
+++ head/sys/security/mac/mac_priv.c	Mon Dec 12 10:05:13 2011	(r228433)
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
 #include "opt_mac.h"
 
 #include <sys/param.h>
+#include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/priv.h>
 #include <sys/sdt.h>



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