linux(4): Cleanup vm includes from linux_util.h

Include vm headers directly where they needed. The linux_util.h included
in a most source files of the Linuxulator, avoid collecting a rarely used
includes here.

MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2023-02-14 17:46:30 +03:00
parent 81e7a80055
commit 31e938c531
4 changed files with 4 additions and 2 deletions

View File

@ -74,6 +74,7 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <vm/vm_kern.h>
#include <vm/vm_map.h>

View File

@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$");
#include <sys/reg.h>
#include <sys/sdt.h>
#include <vm/vm_param.h>
#include <arm64/linux/linux.h>
#include <arm64/linux/linux_proto.h>
#include <compat/linux/linux_dtrace.h>

View File

@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$");
#include <vm/pmap.h>
#include <vm/vm_kern.h>
#include <vm/vm_map.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <vm/swap_pager.h>

View File

@ -36,8 +36,6 @@
#ifndef _LINUX_UTIL_H_
#define _LINUX_UTIL_H_
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <sys/sysent.h>
#include <sys/uio.h>