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/newsmips/newsmips pull up 1.24 -> 1.25:



details:   https://anonhg.NetBSD.org/src/rev/eee8cb85e48c
branches:  netbsd-1-4
changeset: 468270:eee8cb85e48c
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Apr 16 16:20:49 1999 +0000

description:
pull up 1.24 -> 1.25:
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/newsmips/newsmips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 332c09efe308 -r eee8cb85e48c sys/arch/newsmips/newsmips/machdep.c
--- a/sys/arch/newsmips/newsmips/machdep.c      Fri Apr 16 16:20:16 1999 +0000
+++ b/sys/arch/newsmips/newsmips/machdep.c      Fri Apr 16 16:20:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.24 1999/04/01 00:17:48 thorpej Exp $     */
+/*     $NetBSD: machdep.c,v 1.24.2.1 1999/04/16 16:20:49 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24 1999/04/01 00:17:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24.2.1 1999/04/16 16:20:49 chs Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -372,7 +372,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