diff options
| author | David Greenman <dg@FreeBSD.org> | 1996-07-01 14:22:22 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1996-07-01 14:22:22 +0000 |
| commit | be094295a6054209939abc776f1d560b2c7d0540 (patch) | |
| tree | 29d6aa69d6acdd7e79fecf018dd5ba55f109015b /sys/vm | |
| parent | dcb732668938db5705e7c6b1f7cf360b3eab8497 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_kern.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index a563669e4438..5c8615828e47 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.c,v 1.13.4.1 1996/01/31 12:06:48 davidg Exp $ + * $Id: vm_kern.c,v 1.13.4.2 1996/05/26 18:35:22 davidg Exp $ */ /* @@ -383,7 +383,9 @@ kmem_malloc(map, size, waitflag) vm_object_lock(kmem_object); m = vm_page_lookup(kmem_object, offset + i); vm_object_unlock(kmem_object); - pmap_kenter(addr + i, VM_PAGE_TO_PHYS(m)); + pmap_enter(vm_map_pmap(map), addr + i, VM_PAGE_TO_PHYS(m), + VM_PROT_ALL, TRUE); + m->flags |= PG_MAPPED; } vm_map_unlock(map); |
