Include pte-v6.h only where needed.
This commit is contained in:
parent
19710a8b47
commit
41bb3cad44
@ -222,8 +222,6 @@ void pmap_preboot_map_attr(vm_paddr_t, vm_offset_t, vm_size_t, vm_prot_t,
|
||||
#endif /* _KERNEL */
|
||||
|
||||
// ----------------- TO BE DELETED ---------------------------------------------
|
||||
#include <machine/pte-v6.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
/*
|
||||
|
@ -31,6 +31,7 @@
|
||||
#define _MACHINE_PMAP_VAR_H_
|
||||
|
||||
#include <machine/cpu-v6.h>
|
||||
#include <machine/pte-v6.h>
|
||||
/*
|
||||
* Various PMAP defines, exports, and inline functions
|
||||
* definitions also usable in other MD code.
|
||||
|
@ -32,8 +32,6 @@
|
||||
#include <machine/acle-compat.h>
|
||||
|
||||
#if __ARM_ARCH >= 6
|
||||
#include <machine/pte-v6.h>
|
||||
|
||||
#define VM_MEMATTR_WB_WA ((vm_memattr_t)0)
|
||||
#define VM_MEMATTR_NOCACHE ((vm_memattr_t)1)
|
||||
#define VM_MEMATTR_DEVICE ((vm_memattr_t)2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user