Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm make pmap_resident_count() non-optional.



details:   https://anonhg.NetBSD.org/src/rev/9d4c39e80fe3
branches:  trunk
changeset: 515382:9d4c39e80fe3
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Sep 23 06:35:30 2001 +0000

description:
make pmap_resident_count() non-optional.

diffstat:

 sys/uvm/uvm_map.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 14ccbfb88388 -r 9d4c39e80fe3 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Sun Sep 23 05:28:23 2001 +0000
+++ b/sys/uvm/uvm_map.c Sun Sep 23 06:35:30 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.107 2001/09/21 07:57:35 chs Exp $        */
+/*     $NetBSD: uvm_map.c,v 1.108 2001/09/23 06:35:30 chs Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -3232,13 +3232,8 @@
        (*pr)("\t#ent=%d, sz=%d, ref=%d, version=%d, flags=0x%x\n",
            map->nentries, map->size, map->ref_count, map->timestamp,
            map->flags);
-#ifdef pmap_resident_count
        (*pr)("\tpmap=%p(resident=%d)\n", map->pmap,
            pmap_resident_count(map->pmap));
-#else
-       /* XXXCDC: this should be required ... */
-       (*pr)("\tpmap=%p(resident=<<NOT SUPPORTED!!!>>)\n", map->pmap);
-#endif
        if (!full)
                return;
        for (entry = map->header.next; entry != &map->header;



Home | Main Index | Thread Index | Old Index