diff options
author | 2002-06-08 05:19:12 +0000 | |
---|---|---|
committer | 2002-06-08 05:19:12 +0000 | |
commit | 16160eb9f91396e1dadfe6ff15023b9a008040c5 (patch) | |
tree | d654082ffddff633ff2190575ad00d1ccd9c6aef | |
parent | deprecate FallBackToRsh and UseRsh; patch from djm@ (diff) | |
download | wireguard-openbsd-16160eb9f91396e1dadfe6ff15023b9a008040c5.tar.xz wireguard-openbsd-16160eb9f91396e1dadfe6ff15023b9a008040c5.zip |
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.
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 6 |
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)); |