Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha Nuke some code ripe for garbage-collect...



details:   https://anonhg.NetBSD.org/src/rev/8cc36598db85
branches:  trunk
changeset: 474020:8cc36598db85
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jun 26 03:15:54 1999 +0000

description:
Nuke some code ripe for garbage-collection.

diffstat:

 sys/arch/alpha/alpha/pmap.c |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (37 lines):

diff -r e2cd5a76b572 -r 8cc36598db85 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Sat Jun 26 03:14:25 1999 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Sat Jun 26 03:15:54 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.104 1999/06/17 19:23:22 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.105 1999/06/26 03:15:54 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.104 1999/06/17 19:23:22 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.105 1999/06/26 03:15:54 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2920,18 +2920,6 @@
 
        simple_unlock(&pvh->pvh_slock);
        PMAP_HEAD_TO_MAP_UNLOCK();
-
-       /* XXX XXX XXX This needs to go away! XXX XXX XXX */
-       /* because: pte/pmap is unlocked now */
-       if ((*pte & faultoff) != 0) {
-               /*
-                * This is apparently normal.  Why? -- cgd
-                * XXX because was being called on unmanaged pages?
-                */
-               printf("warning: pmap_changebit didn't.");
-               *pte &= ~faultoff;
-               ALPHA_TBIS(v);
-       }
 }
 
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index