Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Make sure state.end has a valid initial value.
details: https://anonhg.NetBSD.org/src/rev/de84a57193d2
branches: trunk
changeset: 581859:de84a57193d2
user: matt <matt%NetBSD.org@localhost>
date: Tue Jun 07 22:02:48 2005 +0000
description:
Make sure state.end has a valid initial value.
diffstat:
sys/uvm/uvm_glue.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r eeeaf716c202 -r de84a57193d2 sys/uvm/uvm_glue.c
--- a/sys/uvm/uvm_glue.c Tue Jun 07 18:11:34 2005 +0000
+++ b/sys/uvm/uvm_glue.c Tue Jun 07 22:02:48 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_glue.c,v 1.86 2005/06/02 17:01:44 matt Exp $ */
+/* $NetBSD: uvm_glue.c,v 1.87 2005/06/07 22:02:48 matt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.86 2005/06/02 17:01:44 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.87 2005/06/07 22:02:48 matt Exp $");
#include "opt_kgdb.h"
#include "opt_kstack.h"
@@ -722,6 +722,7 @@
entry = NULL;
vm_map_lock_read(map);
+ state.end = 0;
for (;;) {
if (entry == NULL)
entry = map->header.next;
Home |
Main Index |
Thread Index |
Old Index