Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/iommu/iommu_pmap.c
Show All 35 Lines | |||||
/* | /* | ||||
* Manages physical address maps for ARM SMMUv3 and ARM Mali GPU. | * Manages physical address maps for ARM SMMUv3 and ARM Mali GPU. | ||||
*/ | */ | ||||
#include "opt_vm.h" | #include "opt_vm.h" | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/systm.h> | |||||
#include <sys/ktr.h> | #include <sys/ktr.h> | ||||
#include <sys/lock.h> | |||||
#include <sys/mutex.h> | #include <sys/mutex.h> | ||||
kib: While there, sys/mutex.h and sys/rwlock.h require sys/lock.h. Put it before mutex. | |||||
#include <sys/rwlock.h> | #include <sys/rwlock.h> | ||||
#include <vm/vm.h> | #include <vm/vm.h> | ||||
#include <vm/vm_param.h> | #include <vm/vm_param.h> | ||||
#include <vm/vm_page.h> | #include <vm/vm_page.h> | ||||
Done Inline Actionssys/systm.h should go right after sys/param.h kib: sys/systm.h should go right after sys/param.h | |||||
#include <vm/vm_map.h> | #include <vm/vm_map.h> | ||||
#include <vm/vm_object.h> | #include <vm/vm_object.h> | ||||
#include <vm/vm_pageout.h> | #include <vm/vm_pageout.h> | ||||
#include <vm/vm_radix.h> | #include <vm/vm_radix.h> | ||||
#include <machine/machdep.h> | #include <machine/machdep.h> | ||||
#include <arm64/iommu/iommu_pmap.h> | #include <arm64/iommu/iommu_pmap.h> | ||||
▲ Show 20 Lines • Show All 830 Lines • Show Last 20 Lines |
While there, sys/mutex.h and sys/rwlock.h require sys/lock.h. Put it before mutex.