Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm amap_pp_adjref: fix regression, spotted by nonaka@.
details: https://anonhg.NetBSD.org/src/rev/95759df8d6a2
branches: trunk
changeset: 766494:95759df8d6a2
user: rmind <rmind%NetBSD.org@localhost>
date: Fri Jun 24 01:03:08 2011 +0000
description:
amap_pp_adjref: fix regression, spotted by nonaka@.
diffstat:
sys/uvm/uvm_amap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 05ab188c8a9d -r 95759df8d6a2 sys/uvm/uvm_amap.c
--- a/sys/uvm/uvm_amap.c Fri Jun 24 00:48:46 2011 +0000
+++ b/sys/uvm/uvm_amap.c Fri Jun 24 01:03:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_amap.c,v 1.96 2011/06/23 18:15:30 rmind Exp $ */
+/* $NetBSD: uvm_amap.c,v 1.97 2011/06/24 01:03:08 rmind Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.96 2011/06/23 18:15:30 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.97 2011/06/24 01:03:08 rmind Exp $");
#include "opt_uvmhist.h"
@@ -1167,7 +1167,7 @@
}
prevlcv = lcv;
}
- if (lcv) {
+ if (lcv == 0) {
/*
* Ensure that the "prevref == ref" test below always
* fails, since we are starting from the beginning of
Home |
Main Index |
Thread Index |
Old Index