The branch main has been updated by jhibbits:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=17f02f732dfdc29154fa3b6b664e6da1a577a839

commit 17f02f732dfdc29154fa3b6b664e6da1a577a839
Author:     Justin Hibbits <[email protected]>
AuthorDate: 2026-06-22 22:51:54 +0000
Commit:     Justin Hibbits <[email protected]>
CommitDate: 2026-07-01 02:42:06 +0000

    powerpc/pmap: Fix 32-bit Book-E build
---
 sys/powerpc/booke/pmap_32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/powerpc/booke/pmap_32.c b/sys/powerpc/booke/pmap_32.c
index ae65f94039e6..7d27d1fe407e 100644
--- a/sys/powerpc/booke/pmap_32.c
+++ b/sys/powerpc/booke/pmap_32.c
@@ -280,10 +280,10 @@ ptbl_alloc(pmap_t pmap, unsigned int pdir_idx, bool 
nosleep)
        }
 
        /* Map allocated pages into kernel_pmap. */
-       mmu_booke_qenter((vm_offset_t)ptbl, mtbl, PTBL_PAGES);
+       mmu_booke_qenter(ptbl, mtbl, PTBL_PAGES);
 
        /* Zero whole ptbl. */
-       bzero((caddr_t)ptbl, PTBL_PAGES * PAGE_SIZE);
+       bzero(ptbl, PTBL_PAGES * PAGE_SIZE);
 
        /* Add pbuf to the pmap ptbl bufs list. */
        TAILQ_INSERT_TAIL(&pmap->pm_ptbl_list, pbuf, link);

Reply via email to