Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/uvm Pull up revision 1.76 (via patch, requested by ...
details: https://anonhg.NetBSD.org/src/rev/0550a0c477e6
branches: netbsd-1-4
changeset: 471313:0550a0c477e6
user: he <he%NetBSD.org@localhost>
date: Mon Jan 14 14:47:44 2002 +0000
description:
Pull up revision 1.76 (via patch, requested by chs):
Let uvm_map_extract() set the lower bound on the kernel address
range itself, instead of having its callers do that. Fixes
PR#11972.
diffstat:
sys/uvm/uvm_map.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7f26b04d2e5d -r 0550a0c477e6 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Mon Jan 14 14:44:58 2002 +0000
+++ b/sys/uvm/uvm_map.c Mon Jan 14 14:47:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.36.2.4 2000/04/30 12:40:26 he Exp $ */
+/* $NetBSD: uvm_map.c,v 1.36.2.5 2002/01/14 14:47:44 he Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1360,7 +1360,7 @@
* step 1: reserve space in the target map for the extracted area
*/
- dstaddr = *dstaddrp;
+ dstaddr = vm_map_min(dstmap);
if (uvm_map_reserve(dstmap, len, start, &dstaddr) == FALSE)
return(ENOMEM);
*dstaddrp = dstaddr; /* pass address back to caller */
Home |
Main Index |
Thread Index |
Old Index