Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/macppc/macppc pull up 1.38 -> 1.39:



details:   https://anonhg.NetBSD.org/src/rev/7483a8124c93
branches:  netbsd-1-4
changeset: 468267:7483a8124c93
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:19:28 1999 +0000

description:
pull up 1.38 -> 1.39:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.

diffstat:

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

diffs (18 lines):

diff -r d9dfc5021b4c -r 7483a8124c93 sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c  Fri Apr 16 16:19:01 1999 +0000
+++ b/sys/arch/macppc/macppc/machdep.c  Fri Apr 16 16:19:28 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.38 1999/04/01 00:17:47 thorpej Exp $     */
+/*     $NetBSD: machdep.c,v 1.38.2.1 1999/04/16 16:19:28 chs Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -524,7 +524,7 @@
                curbufsize = CLBYTES * (i < residual ? base + 1 : base);
 
                while (curbufsize) {
-                       pg = uvm_pagealloc(NULL, 0, NULL);
+                       pg = uvm_pagealloc(NULL, 0, NULL, 0);
                        if (pg == NULL)
                                panic("cpu_startup: not enough memory for "
                                    "buffer cache");



Home | Main Index | Thread Index | Old Index