Module Name: src Committed By: cegger Date: Thu Nov 18 11:49:42 UTC 2010
Modified Files: src/sys/uvm: uvm_pglist.c Log Message: build fix: vm_physmem_index is only used with DEBUG. Fix build when DIAGNOSTIC is enabled but not DEBUG To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/uvm/uvm_pglist.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/uvm/uvm_pglist.c diff -u src/sys/uvm/uvm_pglist.c:1.49 src/sys/uvm/uvm_pglist.c:1.50 --- src/sys/uvm/uvm_pglist.c:1.49 Thu Nov 18 08:41:11 2010 +++ src/sys/uvm/uvm_pglist.c Thu Nov 18 11:49:41 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_pglist.c,v 1.49 2010/11/18 08:41:11 uebayasi Exp $ */ +/* $NetBSD: uvm_pglist.c,v 1.50 2010/11/18 11:49:41 cegger Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.49 2010/11/18 08:41:11 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.50 2010/11/18 11:49:41 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -59,7 +59,7 @@ #define STAT_DECR(v) #endif -#ifdef DIAGNOSTIC +#ifdef DEBUG static int vm_physmem_index(struct vm_physseg *ps) {