Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/arch/mips/mips vunmapbuf: unmap correct range.
details: https://anonhg.NetBSD.org/src/rev/3c443c645ba9
branches: yamt-km
changeset: 573379:3c443c645ba9
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Mar 09 23:06:13 2005 +0000
description:
vunmapbuf: unmap correct range.
diffstat:
sys/arch/mips/mips/vm_machdep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 56ab357285ce -r 3c443c645ba9 sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c Mon Feb 28 12:08:15 2005 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c Wed Mar 09 23:06:13 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.105.4.1 2005/01/31 12:15:52 yamt Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.105.4.2 2005/03/09 23:06:13 yamt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -79,7 +79,7 @@
#include "opt_ddb.h"
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.105.4.1 2005/01/31 12:15:52 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.105.4.2 2005/03/09 23:06:13 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -363,7 +363,8 @@
len = mips_round_page(off + len);
pmap_remove(vm_map_pmap(phys_map), kva, kva + len);
pmap_update(pmap_kernel());
- uvm_unmap1(phys_map, kva, len, UVM_FLAG_QUANTUM | UVM_FLAG_VAONLY);
+ uvm_unmap1(phys_map, kva, kva + len,
+ UVM_FLAG_QUANTUM | UVM_FLAG_VAONLY);
bp->b_data = bp->b_saveaddr;
bp->b_saveaddr = NULL;
}
Home |
Main Index |
Thread Index |
Old Index