diff options
author | avg <avg@FreeBSD.org> | 2011-12-12 10:05:13 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2011-12-12 10:05:13 +0000 |
commit | 7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c (patch) | |
tree | 95e0370a64b53d1b07c5c0dc6e930aac800f5c1e /sys | |
parent | 2893f40afd4a20a0f5ee2d4c4b43c956e09f1880 (diff) | |
download | FreeBSD-src-7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c.zip FreeBSD-src-7d367dba133c7d577cdbe97f7a09c2dddfbd0e5c.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_sx.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_cache.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_framework.c | 2 | ||||
-rw-r--r-- | sys/security/mac/mac_priv.c | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c index 34c1531..9cb9995 100644 --- a/sys/kern/kern_sx.c +++ b/sys/kern/kern_sx.c @@ -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> diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 177fd56..3c8338b 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -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> diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c index d4960f9..816bb0b 100644 --- a/sys/security/mac/mac_framework.c +++ b/sys/security/mac/mac_framework.c @@ -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> diff --git a/sys/security/mac/mac_priv.c b/sys/security/mac/mac_priv.c index 537c002..f184a68 100644 --- a/sys/security/mac/mac_priv.c +++ b/sys/security/mac/mac_priv.c @@ -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> |