Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 remove pmap_update() calls on the k...
details: https://anonhg.NetBSD.org/src/rev/0cbc5cfc940e
branches: trunk
changeset: 754676:0cbc5cfc940e
user: mrg <mrg%NetBSD.org@localhost>
date: Sat May 08 07:34:02 2010 +0000
description:
remove pmap_update() calls on the kernel_pmap -- they do nothign.
diffstat:
sys/arch/sparc64/sparc64/machdep.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 3f1e83d3a0cc -r 0cbc5cfc940e sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c Sat May 08 07:20:11 2010 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c Sat May 08 07:34:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.252 2010/03/04 08:01:35 mrg Exp $ */
+/* $NetBSD: machdep.c,v 1.253 2010/05/08 07:34:02 mrg Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.252 2010/03/04 08:01:35 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.253 2010/05/08 07:34:02 mrg Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -811,7 +811,6 @@
for (off = 0; off < n; off += PAGE_SIZE)
pmap_kenter_pa(dumpspace+off, maddr+off,
VM_PROT_READ, 0);
- pmap_update(pmap_kernel());
error = (*dump)(dumpdev, blkno,
(void *)dumpspace, (size_t)n);
pmap_kremove(dumpspace, n);
@@ -822,7 +821,6 @@
blkno += btodb(n);
}
}
- pmap_update(pmap_kernel());
switch (error) {
@@ -1732,7 +1730,6 @@
v += PAGE_SIZE;
pa += PAGE_SIZE;
} while ((size -= PAGE_SIZE) > 0);
- pmap_update(pmap_kernel());
return (0);
}
Home |
Main Index |
Thread Index |
Old Index