diff options
author | 2017-12-24 23:24:45 +0000 | |
---|---|---|
committer | 2017-12-24 23:24:45 +0000 | |
commit | 2fedbfbb6dfa80d1232c07c1011b467d904abf5b (patch) | |
tree | 74f96a470e93c9afb0cad0ab4aa51d8e0d2d80d7 | |
parent | Merge LLVM 5.0.1 release. (diff) | |
download | wireguard-openbsd-2fedbfbb6dfa80d1232c07c1011b467d904abf5b.tar.xz wireguard-openbsd-2fedbfbb6dfa80d1232c07c1011b467d904abf5b.zip |
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@
-rw-r--r-- | sys/arch/arm64/arm64/autoconf.c | 4 |
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 |