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 Update the calls to allocsys().



details:   https://anonhg.NetBSD.org/src/rev/934509bdf363
branches:  trunk
changeset: 473125:934509bdf363
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 21 00:09:09 1999 +0000

description:
Update the calls to allocsys().

diffstat:

 sys/arch/alpha/alpha/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r af7e487d0dce -r 934509bdf363 sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c    Fri May 21 00:08:14 1999 +0000
+++ b/sys/arch/alpha/alpha/machdep.c    Fri May 21 00:09:09 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.173 1999/05/20 08:21:42 lukem Exp $ */
+/* $NetBSD: machdep.c,v 1.174 1999/05/21 00:09:09 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.173 1999/05/20 08:21:42 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.174 1999/05/21 00:09:09 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -732,9 +732,9 @@
         * memory is directly addressable.  We don't have to map these into
         * virtual address space.
         */
-       size = (vsize_t)allocsys(0);
+       size = (vsize_t)allocsys(NULL, mdallocsys);
        v = (caddr_t)pmap_steal_memory(size, NULL, NULL);
-       if ((allocsys(v) - v) != size)
+       if ((allocsys(v, mdallocsys) - v) != size)
                panic("alpha_init: table size inconsistency");
 
        /*



Home | Main Index | Thread Index | Old Index