Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Fix occupancy bug.
details: https://anonhg.NetBSD.org/src/rev/94b346fc5b43
branches: trunk
changeset: 329705:94b346fc5b43
user: matt <matt%NetBSD.org@localhost>
date: Thu Jun 05 03:45:48 2014 +0000
description:
Fix occupancy bug.
diffstat:
sys/arch/arm/arm32/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 76a522c6e3b7 -r 94b346fc5b43 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Wed Jun 04 21:42:35 2014 +0000
+++ b/sys/arch/arm/arm32/pmap.c Thu Jun 05 03:45:48 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.292 2014/04/30 21:15:06 joerg Exp $ */
+/* $NetBSD: pmap.c,v 1.293 2014/06/05 03:45:48 matt Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -216,7 +216,7 @@
#include <arm/locore.h>
//#include <arm/arm32/katelib.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.292 2014/04/30 21:15:06 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.293 2014/06/05 03:45:48 matt Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -6036,7 +6036,7 @@
l2idx < (L2_TABLE_SIZE_REAL / sizeof(pt_entry_t));
l2idx++) {
if ((ptep[l2idx] & L2_TYPE_MASK) != L2_TYPE_INV) {
- l2b->l2b_occupancy += PAGE_SIZE / L2_S_SIZE;
+ l2b->l2b_occupancy++;
}
}
Home |
Main Index |
Thread Index |
Old Index