From 1383a653f71c3468fab908aa57a46cb407e57ce0 Mon Sep 17 00:00:00 2001 From: nonaka Date: Thu, 25 Dec 2014 08:11:09 +0000 Subject: [PATCH] fix build failure when UVMHIST is defined. --- sys/uvm/pmap/pmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/uvm/pmap/pmap.c b/sys/uvm/pmap/pmap.c index dc88f04a73ab..f4ce925c22d5 100644 --- a/sys/uvm/pmap/pmap.c +++ b/sys/uvm/pmap/pmap.c @@ -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 -__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 /*