summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-09-12 08:43:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-09-12 08:43:19 +0000
commitb06901ab0daa22bceb1a0045e159acd9583b7547 (patch)
treec5811e5e51349ca347d1fe85785f0fa270b99ae5 /sys/arch/alpha
parentfcc47202f5d3d5d3ef284f8d41d06388bde878bf (diff)
Don't forget to actually return a pa for the K0SEG case...
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c
index 6538f4935ee..23fa12cc117 100644
--- a/sys/arch/alpha/alpha/pmap.c
+++ b/sys/arch/alpha/alpha/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.55 2008/06/26 05:42:08 ray Exp $ */
+/* $OpenBSD: pmap.c,v 1.56 2008/09/12 08:43:18 miod Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@ -2129,6 +2129,7 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap)
/* nothing */
} else if (va <= ALPHA_K0SEG_END) {
pa = ALPHA_K0SEG_TO_PHYS(va);
+ *pap = pa;
rv = TRUE;
} else {
l3pte = PMAP_KERNEL_PTE(va);