summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2002-05-04 12:21:32 +0000
committerdfr <dfr@FreeBSD.org>2002-05-04 12:21:32 +0000
commit430e2d77019f398e388e9cdb817a5400dba26c7a (patch)
treefe6e1a4fd0fff07b783017dbd91bcf0adba03dfc /sys/ia64
parentd0e80b094611464a1ed34828f9004367e7f190d6 (diff)
downloadFreeBSD-src-430e2d77019f398e388e9cdb817a5400dba26c7a.zip
FreeBSD-src-430e2d77019f398e388e9cdb817a5400dba26c7a.tar.gz
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).
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 46af2e4..0ed03d2 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)));
}
/*
OpenPOWER on IntegriCloud