Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2016 12:57:05 +0000 (UTC)
From:      Svatopluk Kraus <skra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295695 - head/sys/arm/include
Message-ID:  <201602171257.u1HCv57j021966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skra
Date: Wed Feb 17 12:57:05 2016
New Revision: 295695
URL: https://svnweb.freebsd.org/changeset/base/295695

Log:
  Include pte-v6.h only where needed.

Modified:
  head/sys/arm/include/pmap-v6.h
  head/sys/arm/include/pmap_var.h
  head/sys/arm/include/vm.h

Modified: head/sys/arm/include/pmap-v6.h
==============================================================================
--- head/sys/arm/include/pmap-v6.h	Wed Feb 17 12:36:24 2016	(r295694)
+++ head/sys/arm/include/pmap-v6.h	Wed Feb 17 12:57:05 2016	(r295695)
@@ -222,8 +222,6 @@ void pmap_preboot_map_attr(vm_paddr_t, v
 #endif	/* _KERNEL */
 
 // ----------------- TO BE DELETED ---------------------------------------------
-#include <machine/pte-v6.h>
-
 #ifdef _KERNEL
 
 /*

Modified: head/sys/arm/include/pmap_var.h
==============================================================================
--- head/sys/arm/include/pmap_var.h	Wed Feb 17 12:36:24 2016	(r295694)
+++ head/sys/arm/include/pmap_var.h	Wed Feb 17 12:57:05 2016	(r295695)
@@ -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.

Modified: head/sys/arm/include/vm.h
==============================================================================
--- head/sys/arm/include/vm.h	Wed Feb 17 12:36:24 2016	(r295694)
+++ head/sys/arm/include/vm.h	Wed Feb 17 12:57:05 2016	(r295695)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602171257.u1HCv57j021966>