At least make it compile even though it doesn't make sense.
This commit is contained in:
parent
06b14f09b7
commit
8a6f05a3ec
|
@ -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 <sys/cdefs.h>
|
||||
__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 <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue