Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Fix build caused by a last minute change.



details:   https://anonhg.NetBSD.org/src/rev/5e09802abb91
branches:  trunk
changeset: 758736:5e09802abb91
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Nov 14 15:16:53 2010 +0000

description:
Fix build caused by a last minute change.

diffstat:

 sys/uvm/uvm_page.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 9547f812290d -r 5e09802abb91 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Sun Nov 14 15:06:34 2010 +0000
+++ b/sys/uvm/uvm_page.c        Sun Nov 14 15:16:53 2010 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index