Module Name: src
Committed By: uebayasi
Date: Thu Apr 29 03:10:13 UTC 2010
Modified Files:
src/sys/uvm [uebayasi-xip]: uvm_page.c
Log Message:
Fix a thinko in Rev. 1.153.2.30.
To generate a diff of this commit:
cvs rdiff -u -r1.153.2.33 -r1.153.2.34 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.153.2.33 src/sys/uvm/uvm_page.c:1.153.2.34
--- src/sys/uvm/uvm_page.c:1.153.2.33 Thu Apr 29 03:07:53 2010
+++ src/sys/uvm/uvm_page.c Thu Apr 29 03:10:13 2010
@@ -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;
}
/*