From b06901ab0daa22bceb1a0045e159acd9583b7547 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 12 Sep 2008 08:43:19 +0000 Subject: Don't forget to actually return a pa for the K0SEG case... --- sys/arch/alpha/alpha/pmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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); -- cgit v1.2.3