Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 Only set pmap_devmap_bootstrap_done...



details:   https://anonhg.NetBSD.org/src/rev/1b83d82dc369
branches:  trunk
changeset: 944424:1b83d82dc369
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 28 12:04:19 2020 +0000

description:
Only set pmap_devmap_bootstrap_done if something gets mapped.

Think acpi_platform_devmap

diffstat:

 sys/arch/aarch64/aarch64/pmap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 1bbdee1f4491 -r 1b83d82dc369 sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Mon Sep 28 11:54:22 2020 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Mon Sep 28 12:04:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.90 2020/09/19 13:33:08 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.91 2020/09/28 12:04:19 skrll Exp $  */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.90 2020/09/19 13:33:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.91 2020/09/28 12:04:19 skrll Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
@@ -373,9 +373,8 @@
                    table[i].pd_size,
                    table[i].pd_prot,
                    table[i].pd_flags);
+               pmap_devmap_bootstrap_done = true;
        }
-
-       pmap_devmap_bootstrap_done = true;
 }
 
 const struct pmap_devmap *



Home | Main Index | Thread Index | Old Index