From 9e861cfaa40ee6f51c1cf86748ffe6e295c8efca Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sat, 4 May 2002 12:21:32 +0000 Subject: [PATCH] Use region 7 addresses for the slabs in the PV and PT zones so that we don't confuse the zone allocater by translating region 5 addresses to region 7 addresses (which is unavoidable for PTEs). --- sys/ia64/ia64/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index 46af2e42f20d..0ed03d2e96c6 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -486,7 +486,7 @@ static void * pmap_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait) { *flags = UMA_SLAB_PRIV; - return (void *)kmem_alloc(kernel_map, bytes); + return (void *)IA64_PHYS_TO_RR7(ia64_tpa(kmem_alloc(kernel_map, bytes))); } /*