summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-06-23 07:43:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-06-23 07:43:31 +0000
commitd9af5e26bd7d654327cb908dcc68a8b7562e98ad (patch)
treec16de95279a6b32945faa4d241b872ef39557404 /sys
parent09c2e1dfc30b2507b120c3a4260232244d34a297 (diff)
apparently we need to have kmemstats in the kernel even if we don't use it.
vmstat will fail if we don't have symbol even when it doesn't need it. XXX
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 943e3907583..64f3f662821 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.14 1999/06/03 14:30:15 millert Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.15 1999/06/23 07:43:30 art Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -54,9 +54,7 @@ vm_map_t kmem_map = NULL;
#endif
struct kmembuckets bucket[MINBUCKET + 16];
-#ifdef KMEMSTATS
struct kmemstats kmemstats[M_LAST];
-#endif
struct kmemusage *kmemusage;
char *kmembase, *kmemlimit;
#if defined(KMEMSTATS) || defined(DIAGNOSTIC) || defined(FFS_SOFTUPDATES)