Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm build fix: vm_physmem_index is only used with DEBUG.
details: https://anonhg.NetBSD.org/src/rev/f64cc5b272c3
branches: trunk
changeset: 758861:f64cc5b272c3
user: cegger <cegger%NetBSD.org@localhost>
date: Thu Nov 18 11:49:41 2010 +0000
description:
build fix: vm_physmem_index is only used with DEBUG.
Fix build when DIAGNOSTIC is enabled but not DEBUG
diffstat:
sys/uvm/uvm_pglist.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6ec8fa257da9 -r f64cc5b272c3 sys/uvm/uvm_pglist.c
--- a/sys/uvm/uvm_pglist.c Thu Nov 18 09:59:33 2010 +0000
+++ b/sys/uvm/uvm_pglist.c Thu Nov 18 11:49:41 2010 +0000
@@ -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)
{
Home |
Main Index |
Thread Index |
Old Index