Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix a conditional include.



details:   https://anonhg.NetBSD.org/src/rev/9d7281a18bac
branches:  trunk
changeset: 760921:9d7281a18bac
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Jan 17 07:36:58 2011 +0000

description:
Fix a conditional include.

diffstat:

 sys/kern/subr_pool.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 71b68681ec1f -r 9d7281a18bac sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Mon Jan 17 07:35:02 2011 +0000
+++ b/sys/kern/subr_pool.c      Mon Jan 17 07:36:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.187 2011/01/17 07:13:32 uebayasi Exp $ */
+/*     $NetBSD: subr_pool.c,v 1.188 2011/01/17 07:36:58 uebayasi Exp $ */
 
 /*-
  * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.187 2011/01/17 07:13:32 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.188 2011/01/17 07:36:58 uebayasi Exp $");
 
 #include "opt_ddb.h"
 #include "opt_pool.h"
@@ -55,6 +55,9 @@
 #include <sys/atomic.h>
 
 #include <uvm/uvm_extern.h>
+#ifdef DIAGNOSTIC
+#include <uvm/uvm_km.h>        /* uvm_km_va_drain */
+#endif
 
 /*
  * Pool resource management utility.



Home | Main Index | Thread Index | Old Index