Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha G/c references to VM_KMEM_SIZE.



details:   https://anonhg.NetBSD.org/src/rev/d365515307d0
branches:  trunk
changeset: 482055:d365515307d0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Feb 12 20:57:12 2000 +0000

description:
G/c references to VM_KMEM_SIZE.

diffstat:

 sys/arch/alpha/alpha/machdep.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r 442a5f7d926e -r d365515307d0 sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c    Sat Feb 12 20:01:32 2000 +0000
+++ b/sys/arch/alpha/alpha/machdep.c    Sat Feb 12 20:57:12 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.193 2000/02/09 05:48:26 shin Exp $ */
+/* $NetBSD: machdep.c,v 1.194 2000/02/12 20:57:12 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.193 2000/02/09 05:48:26 shin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.194 2000/02/12 20:57:12 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -231,7 +231,6 @@
 
 struct platform platform;
 
-u_int32_t vm_kmem_size = _VM_KMEM_SIZE;
 u_int32_t vm_phys_size = _VM_PHYS_SIZE;
 
 #ifdef DDB
@@ -652,10 +651,8 @@
         *
         * It's for booting a GENERIC kernel on a large memory platform.
         */
-       if (physmem >= atop(128 * 1024 * 1024)) {
-               vm_kmem_size <<= 3;
+       if (physmem >= atop(128 * 1024 * 1024))
                vm_phys_size <<= 2;
-       }
 
        /*
         * Initialize error message buffer (at end of core).



Home | Main Index | Thread Index | Old Index