Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sh3/sh3 Correct a simple bug in the recent commit (...
details: https://anonhg.NetBSD.org/src/rev/efa12706f0ae
branches: trunk
changeset: 509818:efa12706f0ae
user: tshiozak <tshiozak%NetBSD.org@localhost>
date: Sun May 13 19:41:17 2001 +0000
description:
Correct a simple bug in the recent commit (pmap.c:1.19) by thopej.
I guess he indents to prepare a temporary variable for saving the next
pointer of a list element, but he seems to forget to substitute the
pointer for the variable. This often causes my dreamcast panic.
diffstat:
sys/arch/sh3/sh3/pmap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 942a7d8884ad -r efa12706f0ae sys/arch/sh3/sh3/pmap.c
--- a/sys/arch/sh3/sh3/pmap.c Sun May 13 18:35:19 2001 +0000
+++ b/sys/arch/sh3/sh3/pmap.c Sun May 13 19:41:17 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.19 2001/04/25 16:18:26 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.20 2001/05/13 19:41:17 tshiozak Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -2233,6 +2233,7 @@
for (prevptr = &pvh->pvh_list, pve = pvh->pvh_list;
pve != NULL; pve = npve) {
+ npve = pve->pv_next;
ptes = pmap_map_ptes(pve->pv_pmap); /* locks pmap */
#ifdef DIAGNOSTIC
Home |
Main Index |
Thread Index |
Old Index