svn commit: r332315 - in stable/11/sys: amd64/linux amd64/linux32 i386/linux
Ed Maste
emaste at FreeBSD.org
Mon Apr 9 01:07:49 UTC 2018
Author: emaste
Date: Mon Apr 9 01:07:47 2018
New Revision: 332315
URL: https://svnweb.freebsd.org/changeset/base/332315
Log:
MFC r331439: Sort headers in MD Linuxulator files
Bring #includes closer to style(9) and reduce differences between the
(three) MD versions of linux_machdep.c and linux_sysvec.c.
Modified:
stable/11/sys/amd64/linux/linux_machdep.c
stable/11/sys/amd64/linux/linux_sysvec.c
stable/11/sys/amd64/linux32/linux32_machdep.c
stable/11/sys/amd64/linux32/linux32_sysvec.c
stable/11/sys/i386/linux/linux_machdep.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/amd64/linux/linux_machdep.c
==============================================================================
--- stable/11/sys/amd64/linux/linux_machdep.c Mon Apr 9 01:06:09 2018 (r332314)
+++ stable/11/sys/amd64/linux/linux_machdep.c Mon Apr 9 01:07:47 2018 (r332315)
@@ -33,15 +33,14 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
-#include <sys/kernel.h>
-#include <sys/systm.h>
#include <sys/capsicum.h>
+#include <sys/clock.h>
#include <sys/dirent.h>
-#include <sys/file.h>
#include <sys/fcntl.h>
+#include <sys/file.h>
#include <sys/filedesc.h>
-#include <sys/clock.h>
#include <sys/imgact.h>
+#include <sys/kernel.h>
#include <sys/ktr.h>
#include <sys/limits.h>
#include <sys/lock.h>
@@ -55,8 +54,9 @@ __FBSDID("$FreeBSD$");
#include <sys/sched.h>
#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
-#include <sys/vnode.h>
+#include <sys/systm.h>
#include <sys/unistd.h>
+#include <sys/vnode.h>
#include <sys/wait.h>
#include <security/mac/mac_framework.h>
@@ -72,21 +72,21 @@ __FBSDID("$FreeBSD$");
#include <machine/segments.h>
#include <machine/specialreg.h>
-#include <vm/vm.h>
#include <vm/pmap.h>
+#include <vm/vm.h>
#include <vm/vm_extern.h>
#include <vm/vm_kern.h>
#include <vm/vm_map.h>
#include <amd64/linux/linux.h>
#include <amd64/linux/linux_proto.h>
-#include <compat/linux/linux_ipc.h>
+#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_file.h>
+#include <compat/linux/linux_ipc.h>
#include <compat/linux/linux_misc.h>
#include <compat/linux/linux_mmap.h>
#include <compat/linux/linux_signal.h>
#include <compat/linux/linux_util.h>
-#include <compat/linux/linux_emul.h>
#include <x86/include/sysarch.h>
Modified: stable/11/sys/amd64/linux/linux_sysvec.c
==============================================================================
--- stable/11/sys/amd64/linux/linux_sysvec.c Mon Apr 9 01:06:09 2018 (r332314)
+++ stable/11/sys/amd64/linux/linux_sysvec.c Mon Apr 9 01:07:47 2018 (r332315)
@@ -53,8 +53,8 @@ __FBSDID("$FreeBSD$");
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
-#include <sys/sysctl.h>
#include <sys/syscallsubr.h>
+#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/vnode.h>
Modified: stable/11/sys/amd64/linux32/linux32_machdep.c
==============================================================================
--- stable/11/sys/amd64/linux32/linux32_machdep.c Mon Apr 9 01:06:09 2018 (r332314)
+++ stable/11/sys/amd64/linux32/linux32_machdep.c Mon Apr 9 01:07:47 2018 (r332315)
@@ -34,13 +34,12 @@ __FBSDID("$FreeBSD$");
#include "opt_compat.h"
#include <sys/param.h>
-#include <sys/kernel.h>
-#include <sys/systm.h>
#include <sys/capsicum.h>
-#include <sys/file.h>
-#include <sys/fcntl.h>
#include <sys/clock.h>
+#include <sys/fcntl.h>
+#include <sys/file.h>
#include <sys/imgact.h>
+#include <sys/kernel.h>
#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/malloc.h>
@@ -52,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <sys/resourcevar.h>
#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
+#include <sys/systm.h>
#include <sys/unistd.h>
#include <sys/wait.h>
@@ -61,19 +61,19 @@ __FBSDID("$FreeBSD$");
#include <machine/segments.h>
#include <machine/specialreg.h>
-#include <vm/vm.h>
#include <vm/pmap.h>
+#include <vm/vm.h>
#include <vm/vm_map.h>
#include <compat/freebsd32/freebsd32_util.h>
#include <amd64/linux32/linux.h>
#include <amd64/linux32/linux32_proto.h>
+#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_ipc.h>
#include <compat/linux/linux_misc.h>
#include <compat/linux/linux_mmap.h>
#include <compat/linux/linux_signal.h>
#include <compat/linux/linux_util.h>
-#include <compat/linux/linux_emul.h>
static void bsd_to_linux_rusage(struct rusage *ru, struct l_rusage *lru);
Modified: stable/11/sys/amd64/linux32/linux32_sysvec.c
==============================================================================
--- stable/11/sys/amd64/linux32/linux32_sysvec.c Mon Apr 9 01:06:09 2018 (r332314)
+++ stable/11/sys/amd64/linux32/linux32_sysvec.c Mon Apr 9 01:07:47 2018 (r332315)
@@ -54,8 +54,8 @@ __FBSDID("$FreeBSD$");
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
-#include <sys/sysctl.h>
#include <sys/syscallsubr.h>
+#include <sys/sysctl.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/vnode.h>
Modified: stable/11/sys/i386/linux/linux_machdep.c
==============================================================================
--- stable/11/sys/i386/linux/linux_machdep.c Mon Apr 9 01:06:09 2018 (r332314)
+++ stable/11/sys/i386/linux/linux_machdep.c Mon Apr 9 01:07:47 2018 (r332315)
@@ -30,45 +30,45 @@
__FBSDID("$FreeBSD$");
#include <sys/param.h>
-#include <sys/systm.h>
#include <sys/capsicum.h>
-#include <sys/file.h>
#include <sys/fcntl.h>
+#include <sys/file.h>
#include <sys/imgact.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mman.h>
#include <sys/mutex.h>
-#include <sys/sx.h>
#include <sys/priv.h>
#include <sys/proc.h>
#include <sys/queue.h>
#include <sys/resource.h>
#include <sys/resourcevar.h>
+#include <sys/sched.h>
#include <sys/signalvar.h>
#include <sys/syscallsubr.h>
#include <sys/sysproto.h>
+#include <sys/systm.h>
+#include <sys/sx.h>
#include <sys/unistd.h>
#include <sys/wait.h>
-#include <sys/sched.h>
#include <machine/frame.h>
#include <machine/psl.h>
#include <machine/segments.h>
#include <machine/sysarch.h>
-#include <vm/vm.h>
#include <vm/pmap.h>
+#include <vm/vm.h>
#include <vm/vm_map.h>
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
+#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_ipc.h>
#include <compat/linux/linux_misc.h>
#include <compat/linux/linux_mmap.h>
#include <compat/linux/linux_signal.h>
#include <compat/linux/linux_util.h>
-#include <compat/linux/linux_emul.h>
#include <i386/include/pcb.h> /* needed for pcb definition in linux_set_thread_area */
More information about the svn-src-stable-11
mailing list