Module Name: src
Committed By: msaitoh
Date: Tue Nov 12 16:15:54 UTC 2013
Modified Files:
src/sys/arch/x86/x86: cpu.c
Log Message:
Revert previos. I accidentally committed a debug code. Sorry.
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/x86/x86/cpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/cpu.c
diff -u src/sys/arch/x86/x86/cpu.c:1.104 src/sys/arch/x86/x86/cpu.c:1.105
--- src/sys/arch/x86/x86/cpu.c:1.104 Tue Nov 12 16:13:56 2013
+++ src/sys/arch/x86/x86/cpu.c Tue Nov 12 16:15:54 2013
@@ -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 @@ cpu_vm_init(struct cpu_info *ci)
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 @@ cpu_vm_init(struct cpu_info *ci)
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