Module Name: src
Committed By: nonaka
Date: Thu Dec 25 08:11:09 UTC 2014
Modified Files:
src/sys/uvm/pmap: pmap.c
Log Message:
fix build failure when UVMHIST is defined.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/uvm/pmap/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/pmap/pmap.c
diff -u src/sys/uvm/pmap/pmap.c:1.7 src/sys/uvm/pmap/pmap.c:1.8
--- src/sys/uvm/pmap/pmap.c:1.7 Wed Dec 24 04:03:02 2014
+++ src/sys/uvm/pmap/pmap.c Thu Dec 25 08:11:09 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.7 2014/12/24 04:03:02 nonaka Exp $ */
+/* $NetBSD: pmap.c,v 1.8 2014/12/25 08:11:09 nonaka Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.7 2014/12/24 04:03:02 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.8 2014/12/25 08:11:09 nonaka Exp $");
/*
* Manages physical address maps.
@@ -219,6 +219,8 @@ struct pmap_limits pmap_limits;
#ifdef UVMHIST
static struct kern_history_ent pmapexechistbuf[10000];
static struct kern_history_ent pmaphistbuf[10000];
+UVMHIST_DEFINE(pmapexechist);
+UVMHIST_DEFINE(pmaphist);
#endif
/*