Module Name: src Committed By: uebayasi Date: Sun Nov 14 15:18:07 UTC 2010
Modified Files: src/sys/uvm: uvm_page.c Log Message: ... and another. To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/sys/uvm/uvm_page.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_page.c diff -u src/sys/uvm/uvm_page.c:1.165 src/sys/uvm/uvm_page.c:1.166 --- src/sys/uvm/uvm_page.c:1.165 Sun Nov 14 15:16:53 2010 +++ src/sys/uvm/uvm_page.c Sun Nov 14 15:18:07 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_page.c,v 1.165 2010/11/14 15:16:53 uebayasi Exp $ */ +/* $NetBSD: uvm_page.c,v 1.166 2010/11/14 15:18:07 uebayasi Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.165 2010/11/14 15:16:53 uebayasi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.166 2010/11/14 15:18:07 uebayasi Exp $"); #include "opt_ddb.h" #include "opt_uvmhist.h" @@ -195,7 +195,9 @@ static void uvm_physseg_init(void); static void uvm_physseg_insert(struct vm_physseg *, struct vm_physseg **, int); +#if 0 static void uvm_physseg_remove(struct vm_physseg **, struct vm_physseg *); +#endif /* * per-object tree of pages @@ -922,6 +924,7 @@ #endif } +#if 0 static void uvm_physseg_remove(struct vm_physseg **segs, struct vm_physseg *seg) { @@ -938,6 +941,7 @@ } *segp = NULL; } +#endif /* * vm_physseg_find: find vm_physseg structure that belongs to a PA