Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/arm26 Don't define pmaphistbuf unless UVMHIST...



details:   https://anonhg.NetBSD.org/src/rev/9f3f5f4331aa
branches:  trunk
changeset: 503904:9f3f5f4331aa
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sat Feb 17 19:09:51 2001 +0000

description:
Don't define pmaphistbuf unless UVMHIST is defined.

diffstat:

 sys/arch/arm26/arm26/pmap.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 40211d8cb6bf -r 9f3f5f4331aa sys/arch/arm26/arm26/pmap.c
--- a/sys/arch/arm26/arm26/pmap.c       Sat Feb 17 19:08:21 2001 +0000
+++ b/sys/arch/arm26/arm26/pmap.c       Sat Feb 17 19:09:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.16 2001/01/14 03:32:20 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.17 2001/02/17 19:09:51 bjh21 Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -105,7 +105,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.16 2001/01/14 03:32:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.17 2001/02/17 19:09:51 bjh21 Exp $");
 
 #include <sys/kernel.h> /* for cold */
 #include <sys/malloc.h>
@@ -177,7 +177,9 @@
 static pmap_t active_pmap;
 
 UVMHIST_DECL(pmaphist);
+#ifdef UVMHIST
 static struct uvm_history_ent pmaphistbuf[100];
+#endif
 
        void pmap_init2(void);
 



Home | Main Index | Thread Index | Old Index