Include pte-v6.h only where needed.

This commit is contained in:
skra 2016-02-17 12:57:05 +00:00
parent 19710a8b47
commit 41bb3cad44
3 changed files with 1 additions and 4 deletions

View File

@ -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
/*

View File

@ -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.

View File

@ -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)