summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-24 23:24:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-24 23:24:46 +0000
commit7f6fbf72465157bfeb0e0a5f5310555d825f8718 (patch)
tree60dfe9beea6f6a297db05258d4c7476641bd323d /sys/arch
parent61b0279e612fc6aa3a02cff7f398bc37fafd7ed4 (diff)
Re-enable the code that unmaps the startup code. This was temporarily
disabled while lld was growing up, but forgotten about when gap.o was added back. ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/arm64/autoconf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/autoconf.c b/sys/arch/arm64/arm64/autoconf.c
index c50fddf687f..a062f039569 100644
--- a/sys/arch/arm64/arm64/autoconf.c
+++ b/sys/arch/arm64/arm64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.4 2017/06/29 05:40:35 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.5 2017/12/24 23:24:45 kettenis Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
*
@@ -34,7 +34,6 @@ enum devclass bootdev_class = DV_DULL;
void
unmap_startup(void)
{
-#if 0
extern void *_start, *endboot;
vaddr_t p = (vaddr_t)&_start;
@@ -42,7 +41,6 @@ unmap_startup(void)
pmap_kremove(p, PAGE_SIZE);
p += PAGE_SIZE;
} while (p < (vaddr_t)&endboot);
-#endif
}
void