From ed2e469e3df05410c3e6d6dc362422cd890d7bbe Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 31 Jul 2004 13:28:53 +0000 Subject: [PATCH] Remove some debug printf()s. Reorder an evcnt_attach_static(). --- sys/arch/powerpc/ibm4xx/pmap.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/arch/powerpc/ibm4xx/pmap.c b/sys/arch/powerpc/ibm4xx/pmap.c index 4e0c7575155c..f148fd8d2f46 100644 --- a/sys/arch/powerpc/ibm4xx/pmap.c +++ b/sys/arch/powerpc/ibm4xx/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.28 2003/12/18 14:15:55 pk Exp $ */ +/* $NetBSD: pmap.c,v 1.29 2004/07/31 13:28:53 simonb Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -67,7 +67,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.28 2003/12/18 14:15:55 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.29 2004/07/31 13:28:53 simonb Exp $"); #include #include @@ -382,7 +382,6 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend) memmove(mp, mp + 1, (cnt - (mp - avail)) * sizeof *mp); #endif - printf("Loading pages\n"); for (mp = avail; mp->size; mp++) uvm_page_physload(atop(mp->start), atop(mp->start + mp->size), atop(mp->start), atop(mp->start + mp->size), @@ -396,11 +395,10 @@ pmap_bootstrap(u_int kernelstart, u_int kernelend) nextavail = avail->start; - evcnt_attach_static(&tlbhit_ev); evcnt_attach_static(&tlbmiss_ev); + evcnt_attach_static(&tlbhit_ev); evcnt_attach_static(&tlbflush_ev); evcnt_attach_static(&tlbenter_ev); - printf("Done\n"); } /*