summaryrefslogtreecommitdiff
path: root/vm/vm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r--vm/vm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 8343472f..2ca46582 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -435,7 +435,7 @@ vm_map_insert(struct vm_map *map, struct vm_map_entry *entry,
vm_map_link(map, entry, NULL, request->next);
map->size += request->size;
- if ((map == kernel_map) && (pmap_klimit < entry->end))
+ if ((map == kernel_map) && (pmap_klimit() < entry->end))
pmap_growkernel(entry->end);
return 0;