From 90bbad4fd199eb0514a744c970f756d558e82564 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 23 Jul 2002 14:19:47 +0000 Subject: Define __HAVE_SPLASSERT on architectures that support splassert. --- sys/arch/i386/include/types.h | 3 ++- sys/arch/sparc/include/types.h | 4 +++- sys/arch/sparc64/include/types.h | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/arch') 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_ */ -- cgit v1.2.3