summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-03-29 19:03:35 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-03-29 19:03:35 +0000
commitd1494bc57c93a4f4f774341724a04161be400d37 (patch)
treef19e7d3507bda14b38c5662a4f2307dc8fa40bb2 /sys
parentb5e87df83c573ee90fd199169eae1fdae79f932f (diff)
If in pmap_kernel() allow vtop for all 1-1 mapped pages.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index 87e89e8fc3b..a5dd9db2e2b 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.25 2001/03/03 05:29:33 drahn Exp $ */
+/* $OpenBSD: pmap.c,v 1.26 2001/03/29 19:03:34 drahn Exp $ */
/* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */
/*
@@ -1499,8 +1499,8 @@ pmap_extract(pm, va)
if (!(ptp = pte_find(pm, va))) {
/* return address 0 if not mapped??? */
o = 0;
- if (pm == pmap_kernel() && va < 0x80000000){
- /* if in kernel, va==pa for 0 - 0x80000000 */
+ if (pm == pmap_kernel() && va < 0xa0000000){
+ /* if in kernel, va==pa for 0 - 0xa0000000 */
o = va;
}
splx(s);