Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Fixup some comments



details:   https://anonhg.NetBSD.org/src/rev/71536c320b6f
branches:  trunk
changeset: 1008162:71536c320b6f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Mar 13 16:12:06 2020 +0000

description:
Fixup some comments

diffstat:

 sys/arch/arm/arm32/pmap.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2f242a840437 -r 71536c320b6f sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Fri Mar 13 15:21:32 2020 +0000
+++ b/sys/arch/arm/arm32/pmap.c Fri Mar 13 16:12:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.394 2020/02/24 20:31:56 ad Exp $    */
+/*     $NetBSD: pmap.c,v 1.395 2020/03/13 16:12:06 skrll Exp $ */
 
 /*
  * Copyright 2003 Wasabi Systems, Inc.
@@ -198,7 +198,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.394 2020/02/24 20:31:56 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.395 2020/03/13 16:12:06 skrll Exp $");
 
 #include <sys/atomic.h>
 #include <sys/param.h>
@@ -5820,13 +5820,15 @@
                        return 1;
                pa = VM_PAGE_TO_PHYS(pg);
                /*
-                * This new page must not have any mappings.  Enter it via
-                * pmap_kenter_pa and let that routine do the hard work.
+                * This new page must not have any mappings.
                 */
                struct vm_page_md *md __diagused = VM_PAGE_TO_MD(pg);
                KASSERT(SLIST_EMPTY(&md->pvh_list));
        }
 
+       /*
+        *  Enter it via pmap_kenter_pa and let that routine do the hard work.
+        */
        pmap_kenter_pa(va, pa,
            VM_PROT_READ|VM_PROT_WRITE, PMAP_KMPAGE|PMAP_PTE);
 



Home | Main Index | Thread Index | Old Index