diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-04-19 20:00:12 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-04-19 20:00:12 +0000 |
commit | a684a49eb545be20fb174482be2c8d3a22b132f8 (patch) | |
tree | 8d92bccd0e86c5e9cc6d8bdd7f3b15e1e2d30090 /sys | |
parent | 0dd3d83a767e75d06409b7de513a6010f33111ca (diff) |
Add missing call to pmap_update() in km_alloc().
ok deraadt@, miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_km.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index d13cdde1cd5..4ad88c82fc4 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.98 2011/04/19 15:59:11 art Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.99 2011/04/19 20:00:11 matthew Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -976,6 +976,7 @@ try_map: pmap_kenter_pa(va, VM_PAGE_TO_PHYS(pg), prot); va += PAGE_SIZE; } + pmap_update(pmap_kernel()); return ((void *)sva); } |