summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sun4v/sun4v/pmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sun4v/sun4v/pmap.c b/sys/sun4v/sun4v/pmap.c
index 984c3a0..a754ce9 100644
--- a/sys/sun4v/sun4v/pmap.c
+++ b/sys/sun4v/sun4v/pmap.c
@@ -1297,8 +1297,7 @@ pmap_alloc_zeroed_contig_pages(int npages, uint64_t alignment)
while (m == NULL) {
for (i = 0; phys_avail[i + 1] != 0; i += 2) {
m = vm_phys_alloc_contig(npages, phys_avail[i],
- phys_avail[i + 1], alignment, (1UL<<34),
- VM_CACHE_DEFAULT);
+ phys_avail[i + 1], alignment, (1UL<<34));
if (m)
goto found;
}
OpenPOWER on IntegriCloud