Module Name: src
Committed By: uebayasi
Date: Sun Nov 14 15:16:53 UTC 2010
Modified Files:
src/sys/uvm: uvm_page.c
Log Message:
Fix build caused by a last minute change.
To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 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.164 src/sys/uvm/uvm_page.c:1.165
--- src/sys/uvm/uvm_page.c:1.164 Sun Nov 14 15:06:34 2010
+++ src/sys/uvm/uvm_page.c Sun Nov 14 15:16:53 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.164 2010/11/14 15:06:34 uebayasi Exp $ */
+/* $NetBSD: uvm_page.c,v 1.165 2010/11/14 15:16:53 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.164 2010/11/14 15:06:34 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.165 2010/11/14 15:16:53 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -188,8 +188,10 @@
static struct vm_physseg *uvm_physseg_alloc(
struct vm_physseg_freelist * const, struct vm_physseg **, int,
const paddr_t, const paddr_t);
+#if 0
static void uvm_physseg_free(struct vm_physseg_freelist *,
struct vm_physseg **, struct vm_physseg *);
+#endif
static void uvm_physseg_init(void);
static void uvm_physseg_insert(struct vm_physseg *,
struct vm_physseg **, int);
@@ -858,6 +860,7 @@
return ps;
}
+#if 0
void
uvm_physseg_free(struct vm_physseg_freelist *freelist,
struct vm_physseg **segs, struct vm_physseg *seg)
@@ -866,6 +869,7 @@
uvm_physseg_remove(segs, seg);
SIMPLEQ_INSERT_TAIL(freelist, seg, list);
}
+#endif
static void
uvm_physseg_init(void)