From 7014e9bdb5c2bbd8611c221808ec547e916bbb79 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Wed, 18 Jul 2001 10:47:06 +0000 Subject: Get rid of the PMAP_NEW option by making it mandatory for all archs. The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions. --- sys/uvm/uvm_anon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/uvm/uvm_anon.c') diff --git a/sys/uvm/uvm_anon.c b/sys/uvm/uvm_anon.c index b393d701ddb..c94fd494ac6 100644 --- a/sys/uvm/uvm_anon.c +++ b/sys/uvm/uvm_anon.c @@ -1,5 +1,5 @@ -/* $OpenBSD: uvm_anon.c,v 1.7 2001/06/23 19:24:33 smart Exp $ */ -/* $NetBSD: uvm_anon.c,v 1.3 1999/08/14 06:25:48 ross Exp $ */ +/* $OpenBSD: uvm_anon.c,v 1.8 2001/07/18 10:47:05 art Exp $ */ +/* $NetBSD: uvm_anon.c,v 1.4 1999/09/12 01:17:34 chs Exp $ */ /* * @@ -212,7 +212,7 @@ uvm_anfree(anon) return; } - pmap_page_protect(PMAP_PGARG(pg), VM_PROT_NONE); + pmap_page_protect(pg, VM_PROT_NONE); uvm_lock_pageq(); /* lock out pagedaemon */ uvm_pagefree(pg); /* bye bye */ uvm_unlock_pageq(); /* free the daemon */ -- cgit v1.2.3