summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-23 14:19:47 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-23 14:19:47 +0000
commit90bbad4fd199eb0514a744c970f756d558e82564 (patch)
tree48fcb54a3138da0ed54b678c97b34cebde2b5a95 /sys/arch
parent4d6d9fbedc76933890f65432468a77134479225a (diff)
Define __HAVE_SPLASSERT on architectures that support splassert.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/include/types.h3
-rw-r--r--sys/arch/sparc/include/types.h4
-rw-r--r--sys/arch/sparc64/include/types.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/i386/include/types.h b/sys/arch/i386/include/types.h
index c9abec7b652..7a49e37d2ff 100644
--- a/sys/arch/i386/include/types.h
+++ b/sys/arch/i386/include/types.h
@@ -1,5 +1,5 @@
/* $NetBSD: types.h,v 1.12 1995/12/24 01:08:03 mycroft Exp $ */
-/* $OpenBSD: types.h,v 1.9 2001/08/11 01:58:34 art Exp $ */
+/* $OpenBSD: types.h,v 1.10 2002/07/23 14:19:46 art Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -79,5 +79,6 @@ typedef unsigned long long uint64_t;
typedef int32_t register_t;
#define __HAVE_NWSCONS
+#define __HAVE_SPLASSERT
#endif /* _MACHTYPES_H_ */
diff --git a/sys/arch/sparc/include/types.h b/sys/arch/sparc/include/types.h
index e61830a1626..3570f3f9e7b 100644
--- a/sys/arch/sparc/include/types.h
+++ b/sys/arch/sparc/include/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.10 2001/08/11 01:58:34 art Exp $ */
+/* $OpenBSD: types.h,v 1.11 2002/07/23 14:19:46 art Exp $ */
/* $NetBSD: types.h,v 1.11 1996/12/10 23:19:38 pk Exp $ */
/*
@@ -84,4 +84,6 @@ typedef unsigned long long uint64_t;
typedef int32_t register_t;
+#define __HAVE_SPLASSERT
+
#endif /* _MACHTYPES_H_ */
diff --git a/sys/arch/sparc64/include/types.h b/sys/arch/sparc64/include/types.h
index 33b87ee6d0b..d968dd4b7fd 100644
--- a/sys/arch/sparc64/include/types.h
+++ b/sys/arch/sparc64/include/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.3 2002/04/19 11:04:24 espie Exp $ */
+/* $OpenBSD: types.h,v 1.4 2002/07/23 14:19:46 art Exp $ */
/* $NetBSD: types.h,v 1.17 2001/05/12 22:42:07 kleink Exp $ */
/*
@@ -72,5 +72,6 @@ typedef paddr_t psize_t;
#define __HAVE_NWSCONS
#define __HAVE_DEVICE_REGISTER
#define __HAVE_GENERIC_SOFT_INTERRUPTS
+#define __HAVE_SPLASSERT
#endif /* _MACHTYPES_H_ */