summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-07-02 14:00:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-07-02 14:00:44 +0000
commit1c3cd801b4e596df43e6d0da9ae496a920dddaab (patch)
tree707d968273304cc8b9094ba0e5ead6256affb763 /sys/arch/m88k
parent16f5556628dee2b11b2c7638e54a4328abc98d40 (diff)
Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r--sys/arch/m88k/include/types.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/m88k/include/types.h b/sys/arch/m88k/include/types.h
index fd1ec2d7649..ca32e668798 100644
--- a/sys/arch/m88k/include/types.h
+++ b/sys/arch/m88k/include/types.h
@@ -1,5 +1,5 @@
/* $NetBSD: types.h,v 1.7 1995/07/05 17:46:11 pk Exp $ */
-/* $OpenBSD: types.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: types.h,v 1.2 2004/07/02 14:00:38 miod Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -41,12 +41,12 @@
* @(#)types.h 8.1 (Berkeley) 6/11/93
*/
-#ifndef _MACHTYPES_H_
-#define _MACHTYPES_H_
+#ifndef _M88K_TYPES_H_
+#define _M88K_TYPES_H_
#include <sys/cdefs.h>
-#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
+#if defined(_KERNEL)
typedef struct label_t {
int val[19];
} label_t;
@@ -77,4 +77,6 @@ typedef unsigned long long uint64_t;
typedef int32_t register_t;
-#endif /* _MACHTYPES_H_ */
+#define __HAVE_EVCOUNT
+
+#endif /* _M88K_TYPES_H_ */