Source-Changes-HG archive

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

[src/uebayasi-xip]: src/sys/uvm Fix a thinko in Rev. 1.153.2.30.



details:   https://anonhg.NetBSD.org/src/rev/684801a86eae
branches:  uebayasi-xip
changeset: 751704:684801a86eae
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Apr 29 03:10:13 2010 +0000

description:
Fix a thinko in Rev. 1.153.2.30.

diffstat:

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

diffs (27 lines):

diff -r 8f92808ee394 -r 684801a86eae sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Thu Apr 29 03:07:53 2010 +0000
+++ b/sys/uvm/uvm_page.c        Thu Apr 29 03:10:13 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.153.2.33 2010/04/29 03:07:53 uebayasi Exp $     */
+/*     $NetBSD: uvm_page.c,v 1.153.2.34 2010/04/29 03:10:13 uebayasi Exp $     */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.33 2010/04/29 03:07:53 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.34 2010/04/29 03:10:13 uebayasi Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -968,7 +968,7 @@
                *segp = *(segp + 1);
                segp++;
        }
-       *(segp + VM_PHYSSEG_MAX - 1) = NULL;
+       *segp = NULL;
 }
 
 /*



Home | Main Index | Thread Index | Old Index