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:
parent
81e7a80055
commit
31e938c531
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user