Module Name:    src
Committed By:   pooka
Date:           Tue May 11 14:06:08 UTC 2010

Modified Files:
        src/sys/rump/librump/rumpkern: vm.c

Log Message:
uvm_object_printit() should be wrapped in DEBUGPRINT


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/rump/librump/rumpkern/vm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/vm.c
diff -u src/sys/rump/librump/rumpkern/vm.c:1.72 src/sys/rump/librump/rumpkern/vm.c:1.73
--- src/sys/rump/librump/rumpkern/vm.c:1.72	Wed Apr 28 16:34:25 2010
+++ src/sys/rump/librump/rumpkern/vm.c	Tue May 11 14:06:08 2010
@@ -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)

Reply via email to