From 9f543d599316cc6674fa6eaf1d2fdc323dbf2ed4 Mon Sep 17 00:00:00 2001 From: bdragon Date: Thu, 21 May 2020 15:53:16 +0000 Subject: [PATCH] [PowerPC] Fix kernel boot on powerpc Recent changes have caused the vmspace objects to start coming from KVA instead of direct-mapped memory on powerpc. As far as I can tell, this is not actually a problem, so we should stop arbitrarily asserting that it is. I do not know why this was not being triggered before. Approved by: jhibbits Sponsored by: Tag1 Consulting, Inc. --- sys/powerpc/aim/mmu_oea.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/powerpc/aim/mmu_oea.c b/sys/powerpc/aim/mmu_oea.c index 9a507309307c..43fe62d1511e 100644 --- a/sys/powerpc/aim/mmu_oea.c +++ b/sys/powerpc/aim/mmu_oea.c @@ -1703,7 +1703,6 @@ moea_pinit(mmu_t mmu, pmap_t pmap) int i, mask; u_int entropy; - KASSERT((int)pmap < VM_MIN_KERNEL_ADDRESS, ("moea_pinit: virt pmap")); RB_INIT(&pmap->pmap_pvo); entropy = 0;