Date: Wed, 7 Sep 2022 15:10:33 GMT From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 8b67991635f1 - stable/13 - linuxkpi: swap.h: Fix include Message-ID: <202209071510.287FAXH1026416@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=8b67991635f1eab8972382da741e10d9e6d571be commit 8b67991635f1eab8972382da741e10d9e6d571be Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-08-09 13:23:50 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-09-07 15:09:05 +0000 linuxkpi: swap.h: Fix include Add needed includes so we can use it. Reviewed by: bz Fixes: c3f4f28c63da ("linuxkpi: Add some basic swap functions") Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36109 (cherry picked from commit 6d3d5653168b6c122a4858357f74dafc06e4e4ef) --- sys/compat/linuxkpi/common/include/linux/swap.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/swap.h b/sys/compat/linuxkpi/common/include/linux/swap.h index a080895bed98..600707524d86 100644 --- a/sys/compat/linuxkpi/common/include/linux/swap.h +++ b/sys/compat/linuxkpi/common/include/linux/swap.h @@ -29,6 +29,13 @@ #ifndef _LINUXKPI_LINUX_SWAP_H_ #define _LINUXKPI_LINUX_SWAP_H_ +#include <sys/param.h> +#include <sys/domainset.h> +#include <sys/queue.h> +#include <sys/proc.h> +#include <sys/pcpu.h> + +#include <vm/vm.h> #include <vm/swap_pager.h> #include <vm/vm_pageout.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209071510.287FAXH1026416>