Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx pmap_kenter_pa: Remove comment which...



details:   https://anonhg.NetBSD.org/src/rev/fd0cdb6fb840
branches:  trunk
changeset: 1014007:fd0cdb6fb840
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Sep 10 03:23:55 2020 +0000

description:
pmap_kenter_pa: Remove comment which says ``Have to remove any existing
mapping first.'' Contrary to this comment, pmap_kremove(9) has never
been called there since rev 1.1, and we don't for other ports also.

diffstat:

 sys/arch/powerpc/ibm4xx/pmap.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 5335a6777dc4 -r fd0cdb6fb840 sys/arch/powerpc/ibm4xx/pmap.c
--- a/sys/arch/powerpc/ibm4xx/pmap.c    Thu Sep 10 03:20:08 2020 +0000
+++ b/sys/arch/powerpc/ibm4xx/pmap.c    Thu Sep 10 03:23:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.91 2020/09/10 03:02:36 rin Exp $    */
+/*     $NetBSD: pmap.c,v 1.92 2020/09/10 03:23:55 rin Exp $    */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.91 2020/09/10 03:02:36 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 2020/09/10 03:23:55 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -931,10 +931,6 @@
        struct pmap *pm = pmap_kernel();
 
        /*
-        * Have to remove any existing mapping first.
-        */
-
-       /*
         * Generate TTE.
         *
         * XXXX



Home | Main Index | Thread Index | Old Index