Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/fdt No need for PMAP_WRITE_BACK here (also aa32...



details:   https://anonhg.NetBSD.org/src/rev/79b51703a771
branches:  trunk
changeset: 957927:79b51703a771
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Dec 17 08:47:18 2020 +0000

description:
No need for PMAP_WRITE_BACK here (also aa32 pmap doesn't know about it)

diffstat:

 sys/arch/arm/fdt/arm_fdt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 238524d1bea5 -r 79b51703a771 sys/arch/arm/fdt/arm_fdt.c
--- a/sys/arch/arm/fdt/arm_fdt.c        Thu Dec 17 05:33:06 2020 +0000
+++ b/sys/arch/arm/fdt/arm_fdt.c        Thu Dec 17 08:47:18 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_fdt.c,v 1.12 2020/10/10 15:34:05 jmcneill Exp $ */
+/* $NetBSD: arm_fdt.c,v 1.13 2020/12/17 08:47:18 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #include "opt_modular.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm_fdt.c,v 1.12 2020/10/10 15:34:05 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_fdt.c,v 1.13 2020/12/17 08:47:18 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -263,7 +263,7 @@
                for (pa = startpa, va = startva;
                     pa < endpa;
                     pa += PAGE_SIZE, va += PAGE_SIZE) {
-                       pmap_kenter_pa(va, pa, VM_PROT_ALL, PMAP_WRITE_BACK);
+                       pmap_kenter_pa(va, pa, VM_PROT_ALL, 0);
                }
                pmap_update(pmap_kernel());
 



Home | Main Index | Thread Index | Old Index