summaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-11-29 10:32:38 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-11-29 10:32:38 +0000
commit3c48106aaa291417d3de3367fbe0dd85ccd7fe6a (patch)
treeebc2fce582e746375ff045e55f2903d0232def33 /sys/amd64
parenta9d4fe977a0be34e956c7cb6cb509596deefa7ad (diff)
downloadsrc-test2-3c48106aaa291417d3de3367fbe0dd85ccd7fe6a.tar.gz
src-test2-3c48106aaa291417d3de3367fbe0dd85ccd7fe6a.zip
Notes
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/vmm/vmm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
index 11e23d76bbd7..893c9626e67f 100644
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -49,12 +49,12 @@ __FBSDID("$FreeBSD$");
#include <sys/vnode.h>
#include <vm/vm.h>
+#include <vm/vm_param.h>
+#include <vm/vm_extern.h>
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#include <vm/vm_extern.h>
-#include <vm/vm_param.h>
#include <vm/vm_pager.h>
#include <vm/vm_kern.h>
#include <vm/vnode_pager.h>
@@ -483,7 +483,7 @@ vm_create(const char *name, struct vm **retvm)
if (name == NULL || strlen(name) >= VM_MAX_NAMELEN)
return (EINVAL);
- vmspace = vmmops_vmspace_alloc(0, VM_MAXUSER_ADDRESS);
+ vmspace = vmmops_vmspace_alloc(0, VM_MAXUSER_ADDRESS_LA48);
if (vmspace == NULL)
return (ENOMEM);