summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 05:19:13 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 05:19:13 +0000
commit5ed5d298bb2743051cd642935b45db52a4c1dd6c (patch)
treed2e8a215e71888d9e83fedbe9ec29c38825eac92 /sys
parent43b55553714260026e2c461d6009d36df28bde82 (diff)
Always keep the symbols, don't hand that memory to the VM system.
In most cases we'll have either DDB or /dev/ksyms and if someone really needs the memory they'll strip the kernel. Fixes alpha/2705.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/alpha/machdep.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 13dcbc7c8bd..1d7b9761bf3 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.73 2002/06/04 00:09:08 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.74 2002/06/08 05:19:12 art Exp $ */
/* $NetBSD: machdep.c,v 1.210 2000/06/01 17:12:38 thorpej Exp $ */
/*-
@@ -428,11 +428,7 @@ nobootinfo:
* stack).
*/
kernstart = trunc_page((vaddr_t)kernel_text) - 2 * PAGE_SIZE;
-#ifdef DDB
kernend = (vaddr_t)round_page((vaddr_t)bootinfo.esym);
-#else
- kernend = (vaddr_t)round_page((vaddr_t)_end);
-#endif
kernstartpfn = atop(ALPHA_K0SEG_TO_PHYS(kernstart));
kernendpfn = atop(ALPHA_K0SEG_TO_PHYS(kernend));