diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-06-22 22:51:54 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2026-07-01 02:42:06 +0000 |
| commit | 17f02f732dfdc29154fa3b6b664e6da1a577a839 (patch) | |
| tree | abef7d467cc445f0e7d894551d257f79755f6dff | |
| parent | a8566c71ce4640d1339a64384f0089cffb249b2c (diff) | |
powerpc/pmap: Fix 32-bit Book-E build
| -rw-r--r-- | sys/powerpc/booke/pmap_32.c | 4 |
1 files 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); |
