summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-01 19:24:34 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-01 19:24:34 +0000
commit7f0d51f4486237d6a691bfcc8a1eb537a461bb57 (patch)
tree97a44b402037df114b1dca972ec592fd1ffab1e0
parent65e1de1296c72d56ceb18d10651d563607b8025e (diff)
Prepare for new pmap
-rw-r--r--sys/uvm/uvm_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_glue.c b/sys/uvm/uvm_glue.c
index 2467564f33e..fe866fdc017 100644
--- a/sys/uvm/uvm_glue.c
+++ b/sys/uvm/uvm_glue.c
@@ -157,7 +157,7 @@ uvm_useracc(addr, len, rw)
boolean_t rv;
vm_prot_t prot = rw == B_READ ? VM_PROT_READ : VM_PROT_WRITE;
-#if defined(i386) || defined(pc532)
+#if (defined(i386) || defined(pc532)) && !defined(PMAP_NEW)
/*
* XXX - specially disallow access to user page tables - they are
* in the map. This is here until i386 & pc532 pmaps are fixed...