From 43bc578d8ba27cfdec0945347735ac3b75287cdd Mon Sep 17 00:00:00 2001 From: junyoung Date: Fri, 6 Dec 2002 17:53:52 +0000 Subject: [PATCH] Get rid of #ifdef CPUDEBUG. CPU signature is always displayed. --- sys/arch/i386/i386/machdep.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 260e178850af..376baaa80d5d 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.503 2002/12/06 14:47:07 junyoung Exp $ */ +/* $NetBSD: machdep.c,v 1.504 2002/12/06 17:53:52 junyoung Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.503 2002/12/06 14:47:07 junyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.504 2002/12/06 17:53:52 junyoung Exp $"); #include "opt_cputype.h" #include "opt_ddb.h" @@ -1687,10 +1687,7 @@ identifycpu(struct cpu_info *ci) { const char *name, *modifier, *vendorname, *brand = ""; int class = CPUCLASS_386, vendor, i, max; - int family, model, modif; -#ifdef CPUDEBUG - int step; -#endif + int modif, family, model, step; const struct cpu_cpuid_nameclass *cpup = NULL; const struct cpu_cpuid_family *cpufam; char *cpuname = ci->ci_dev->dv_xname; @@ -1718,11 +1715,9 @@ identifycpu(struct cpu_info *ci) if (family < CPU_MINFAMILY) panic("identifycpu: strange family value"); model = CPUID2MODEL(ci->ci_signature); -#ifdef CPUDEBUG step = CPUID2STEPPING(ci->ci_signature); printf("%s: family %x model %x step %x\n", cpuname, family, model, step); -#endif for (i = 0; i < max; i++) { if (!strncmp((char *)ci->ci_vendor,