Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap fix build failure when UVMHIST is defined.
details: https://anonhg.NetBSD.org/src/rev/8e177c4f9ffe
branches: trunk
changeset: 335092:8e177c4f9ffe
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Dec 25 08:11:09 2014 +0000
description:
fix build failure when UVMHIST is defined.
diffstat:
sys/uvm/pmap/pmap.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 2872afe62049 -r 8e177c4f9ffe sys/uvm/pmap/pmap.c
--- a/sys/uvm/pmap/pmap.c Thu Dec 25 06:39:26 2014 +0000
+++ b/sys/uvm/pmap/pmap.c Thu Dec 25 08:11:09 2014 +0000
@@ -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 @@
#ifdef UVMHIST
static struct kern_history_ent pmapexechistbuf[10000];
static struct kern_history_ent pmaphistbuf[10000];
+UVMHIST_DEFINE(pmapexechist);
+UVMHIST_DEFINE(pmaphist);
#endif
/*
Home |
Main Index |
Thread Index |
Old Index