From: kettenis Date: Sat, 20 Jan 2018 18:35:41 +0000 (+0000) Subject: Re-enable the code that unmaps the startup code once more now that lld is X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11ea4bcbcec006d738c6732fe5b70fde0840a0da;p=openbsd Re-enable the code that unmaps the startup code once more now that lld is fixed. --- diff --git a/sys/arch/arm64/arm64/autoconf.c b/sys/arch/arm64/arm64/autoconf.c index 9feef11aa7c..f1491ed210e 100644 --- a/sys/arch/arm64/arm64/autoconf.c +++ b/sys/arch/arm64/arm64/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.6 2017/12/27 13:57:40 kettenis Exp $ */ +/* $OpenBSD: autoconf.c,v 1.7 2018/01/20 18:35:41 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