From 8a6f05a3ecc0bfc6af05b8506ef151181ce7fdb4 Mon Sep 17 00:00:00 2001 From: gmcgarry Date: Sat, 5 Oct 2002 05:55:46 +0000 Subject: [PATCH] At least make it compile even though it doesn't make sense. --- sys/arch/i386/i386/pmc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/pmc.c b/sys/arch/i386/i386/pmc.c index f00e1d4f5095..84b6ee7f60df 100644 --- a/sys/arch/i386/i386/pmc.c +++ b/sys/arch/i386/i386/pmc.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmc.c,v 1.4 2002/06/07 04:04:47 gmcgarry Exp $ */ +/* $NetBSD: pmc.c,v 1.5 2002/10/05 05:55:46 gmcgarry Exp $ */ /*- * Copyright (c) 2000 Zembu Labs, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.4 2002/06/07 04:04:47 gmcgarry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.5 2002/10/05 05:55:46 gmcgarry Exp $"); #include #include @@ -66,11 +66,13 @@ static int pmc_running; static void pmc_init(void) { + const char *cpu_vendor; if (pmc_initialized) return; pmc_type = PMC_TYPE_NONE; + cpu_vendor = i386_nocpuid_cpus[cpu].cpu_vendorname; switch (cpu_class) { case CPUCLASS_586: