Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include Redo last change. "pmc_evid_t" and "pm...



details:   https://anonhg.NetBSD.org/src/rev/77ebfaa29513
branches:  trunk
changeset: 534965:77ebfaa29513
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Aug 07 09:45:49 2002 +0000

description:
Redo last change. "pmc_evid_t" and "pmc_ctr_t" need to be visible for
userland because they are used in "sys/pmc.h".

diffstat:

 sys/arch/i386/include/types.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 10accb315696 -r 77ebfaa29513 sys/arch/i386/include/types.h
--- a/sys/arch/i386/include/types.h     Wed Aug 07 09:34:54 2002 +0000
+++ b/sys/arch/i386/include/types.h     Wed Aug 07 09:45:49 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.32 2002/08/07 09:34:54 tron Exp $  */
+/*     $NetBSD: types.h,v 1.33 2002/08/07 09:45:49 tron Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -55,10 +55,8 @@
 typedef unsigned long  vsize_t;
 #endif
 
-#if defined(_KERNEL)
 typedef int            pmc_evid_t;
 typedef __uint64_t     pmc_ctr_t;
-#endif
 typedef int            register_t;
 
 /* The x86 does not have strict alignment requirements. */



Home | Main Index | Thread Index | Old Index