Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips adapt to uvm_pagealloc() changes - use UV...
details: https://anonhg.NetBSD.org/src/rev/cf51d15052bc
branches: trunk
changeset: 471828:cf51d15052bc
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Apr 12 17:59:29 1999 +0000
description:
adapt to uvm_pagealloc() changes - use UVM_PGA_USERESERVE to allocate
page table pages
diffstat:
sys/arch/mips/mips/pmap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a98658401e70 -r cf51d15052bc sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Mon Apr 12 17:29:31 1999 +0000
+++ b/sys/arch/mips/mips/pmap.c Mon Apr 12 17:59:29 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.55 1999/03/26 23:41:31 mycroft Exp $ */
+/* $NetBSD: pmap.c,v 1.56 1999/04/12 17:59:29 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55 1999/03/26 23:41:31 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.56 1999/04/12 17:59:29 drochner Exp $");
/*
* Manages physical address maps.
@@ -517,7 +517,7 @@
vm_page_t mem;
do {
- mem = uvm_pagealloc(NULL, 0, NULL);
+ mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
if (mem == NULL) {
/*
* XXX What else can we do? Could we
@@ -1246,7 +1246,7 @@
if (!(pte = pmap_segmap(pmap, va))) {
do {
- mem = uvm_pagealloc(NULL, 0, NULL);
+ mem = uvm_pagealloc(NULL, 0, NULL, UVM_PGA_USERESERVE);
if (mem == NULL) {
/*
* XXX What else can we do? Could we
Home |
Main Index |
Thread Index |
Old Index