summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/pmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c
index f85e7ba9798..a7e568dc679 100644
--- a/sys/arch/hppa/hppa/pmap.c
+++ b/sys/arch/hppa/hppa/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.6 1998/12/05 15:53:53 mickey Exp $ */
+/* $OpenBSD: pmap.c,v 1.7 1998/12/08 19:49:38 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -1544,6 +1544,8 @@ kvtop(va)
{
if ((vm_offset_t)va < virtual_avail)
return (int)va;
+ else if ((vm_offset_t)va >= HPPA_IOBEGIN)
+ return (int)va;
else
return (int)pmap_extract(pmap_kernel(), (vm_offset_t)va);
}