Wrap dump_kipt() in #ifdef DDB.

This commit is contained in:
scw 2002-08-26 10:21:54 +00:00
parent d8f6a57b15
commit 7bd8b94a66

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.2 2002/08/26 10:21:04 scw Exp $ */
/* $NetBSD: pmap.c,v 1.3 2002/08/26 10:21:54 scw Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -102,6 +102,8 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
@ -1916,6 +1918,7 @@ pmap_unmap_poolpage(vaddr_t va)
return (0);
}
#ifdef DDB
void dump_kipt(void);
void
dump_kipt(void)
@ -1933,3 +1936,4 @@ dump_kipt(void)
printf("\n");
}
#endif