Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 Revert previos. I accidentally committed a ...



details:   https://anonhg.NetBSD.org/src/rev/139e02ec2cf8
branches:  trunk
changeset: 791302:139e02ec2cf8
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Nov 12 16:15:54 2013 +0000

description:
Revert previos. I accidentally committed a debug code. Sorry.

diffstat:

 sys/arch/x86/x86/cpu.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 7c18d2b9ca48 -r 139e02ec2cf8 sys/arch/x86/x86/cpu.c
--- a/sys/arch/x86/x86/cpu.c    Tue Nov 12 16:13:56 2013 +0000
+++ b/sys/arch/x86/x86/cpu.c    Tue Nov 12 16:15:54 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.104 2013/11/12 16:13:56 msaitoh Exp $        */
+/*     $NetBSD: cpu.c,v 1.105 2013/11/12 16:15:54 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 2000-2012 NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.104 2013/11/12 16:13:56 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.105 2013/11/12 16:15:54 msaitoh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mpbios.h"                /* for MPDEBUG */
@@ -245,7 +245,6 @@
                struct x86_cache_info *cai;
                int tcolors;
 
-               printf("CAI = %d\n", i);
                cai = &ci->ci_cinfo[i];
 
                tcolors = atop(cai->cai_totalsize);
@@ -259,8 +258,6 @@
                default:
                        tcolors /= cai->cai_associativity;
                }
-               printf("associativity = %d, totalsize = %d\n",
-                   cai->cai_associativity, cai->cai_totalsize);
                ncolors = max(ncolors, tcolors);
                /*
                 * If the desired number of colors is not a power of



Home | Main Index | Thread Index | Old Index