Date: Mon, 13 Jul 2020 15:29:11 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r363149 - stable/11/sys/compat/linuxkpi/common/include/linux Message-ID: <202007131529.06DFTBbO015012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Mon Jul 13 15:29:11 2020 New Revision: 363149 URL: https://svnweb.freebsd.org/changeset/base/363149 Log: MFC r362946: Fix include file order in io.h in the LinuxKPI. Make sure sys/types.h is included before machine/vm.h. PR: 247775 Submitted by: pkubaj@ Sponsored by: Mellanox Technologies Modified: stable/11/sys/compat/linuxkpi/common/include/linux/io.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linuxkpi/common/include/linux/io.h ============================================================================== --- stable/11/sys/compat/linuxkpi/common/include/linux/io.h Mon Jul 13 15:28:06 2020 (r363148) +++ stable/11/sys/compat/linuxkpi/common/include/linux/io.h Mon Jul 13 15:29:11 2020 (r363149) @@ -31,9 +31,10 @@ #ifndef _LINUX_IO_H_ #define _LINUX_IO_H_ -#include <machine/vm.h> #include <sys/endian.h> #include <sys/types.h> + +#include <machine/vm.h> #include <linux/compiler.h> #include <linux/types.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007131529.06DFTBbO015012>