Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern uvm_object_printit() should be wra...



details:   https://anonhg.NetBSD.org/src/rev/b077f882ca2d
branches:  trunk
changeset: 754746:b077f882ca2d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue May 11 14:06:08 2010 +0000

description:
uvm_object_printit() should be wrapped in DEBUGPRINT

diffstat:

 sys/rump/librump/rumpkern/vm.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r e1ce883091b1 -r b077f882ca2d sys/rump/librump/rumpkern/vm.c
--- a/sys/rump/librump/rumpkern/vm.c    Tue May 11 13:23:09 2010 +0000
+++ b/sys/rump/librump/rumpkern/vm.c    Tue May 11 14:06:08 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm.c,v 1.72 2010/04/28 16:34:25 pooka Exp $    */
+/*     $NetBSD: vm.c,v 1.73 2010/05/11 14:06:08 pooka Exp $    */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.72 2010/04/28 16:34:25 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm.c,v 1.73 2010/05/11 14:06:08 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -511,6 +511,7 @@
        return EBUSY;
 }
 
+#ifdef DEBUGPRINT
 void
 uvm_object_printit(struct uvm_object *uobj, bool full,
        void (*pr)(const char *, ...))
@@ -518,6 +519,7 @@
 
        /* nada for now */
 }
+#endif
 
 vaddr_t
 uvm_default_mapaddr(struct proc *p, vaddr_t base, vsize_t sz)



Home | Main Index | Thread Index | Old Index