diff options
Diffstat (limited to 'sys/kern/kern_sharedpage.c')
-rw-r--r-- | sys/kern/kern_sharedpage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sharedpage.c b/sys/kern/kern_sharedpage.c index 20b9038..622592b 100644 --- a/sys/kern/kern_sharedpage.c +++ b/sys/kern/kern_sharedpage.c @@ -112,7 +112,7 @@ shared_page_init(void *dummy __unused) VM_ALLOC_ZERO); m->valid = VM_PAGE_BITS_ALL; VM_OBJECT_WUNLOCK(shared_page_obj); - addr = kmem_alloc_nofault(kernel_map, PAGE_SIZE); + addr = kva_alloc(PAGE_SIZE); pmap_qenter(addr, &m, 1); shared_page_mapping = (char *)addr; } |