diff --git a/sys/arch/i386/include/types.h b/sys/arch/i386/include/types.h index 250675a1f8ff..7265cb427141 100644 --- a/sys/arch/i386/include/types.h +++ b/sys/arch/i386/include/types.h @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.31 2002/08/07 05:38:24 briggs Exp $ */ +/* $NetBSD: types.h,v 1.32 2002/08/07 09:34:54 tron Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -55,8 +55,10 @@ typedef unsigned long vaddr_t; typedef unsigned long vsize_t; #endif +#if defined(_KERNEL) typedef int pmc_evid_t; -typedef unsigned long long pmc_ctr_t; +typedef __uint64_t pmc_ctr_t; +#endif typedef int register_t; /* The x86 does not have strict alignment requirements. */