summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-03-13 00:53:56 +0000
committerjsg <jsg@openbsd.org>2017-03-13 00:53:56 +0000
commit4403950e06f698c1f805143fb8fa3cd26aa15571 (patch)
treec6fdc410a284bcbd314e0516aae8f026e7e6f5c4 /sys
parent<struct.h> is unused and should not be used. Delete it. (diff)
downloadwireguard-openbsd-4403950e06f698c1f805143fb8fa3cd26aa15571.tar.xz
wireguard-openbsd-4403950e06f698c1f805143fb8fa3cd26aa15571.zip
Don't limit physmem to 2GB confirmed to work with 16GB by deraadt@.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/arm64/machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c
index cc6766d0c19..dcdfbaf29d2 100644
--- a/sys/arch/arm64/arm64/machdep.c
+++ b/sys/arch/arm64/arm64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.11 2017/02/17 19:20:22 patrick Exp $ */
+/* $OpenBSD: machdep.c,v 1.12 2017/03/13 00:53:56 jsg Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
*
@@ -844,8 +844,6 @@ initarm(struct arm64_bootparams *abp)
memstart = reg.addr;
memsize = reg.size;
- if (reg.size > 0x80000000)
- memsize = 0x80000000;
/* Set the pcpu data, this is needed by pmap_bootstrap */
// smp