git: 0c14a8c6e771 - stable/14 - powerpc/radix: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 13:19:08 UTC
The branch stable/14 has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/src/commit/?id=0c14a8c6e7712cdabb77f76edd98fb0b96f225f4
commit 0c14a8c6e7712cdabb77f76edd98fb0b96f225f4
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-30 13:09:28 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-30 13:12:02 +0000
powerpc/radix: fix build
void* casting is still necessary on stable/1{4,5} due to it being
removed only in fe3e92e6868dce2ed94c98428b8df1f27ed3ef63.
Fixes: 107212618921
Approved by: jhibbits
(cherry picked from commit cb826c230d1b5abb684d8d00c96b8a6efcd56171)
---
sys/powerpc/aim/mmu_radix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
index f6011fe09d09..519663930cba 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -5952,7 +5952,7 @@ mmu_radix_sync_icache(pmap_t pm, vm_offset_t va, vm_size_t sz)
sync_sz = PAGE_SIZE - (va & PAGE_MASK);
sync_sz = min(sync_sz, sz);
if (pa != 0)
- __syncicache(PHYS_TO_DMAP(pa), sync_sz);
+ __syncicache((void *)PHYS_TO_DMAP(pa), sync_sz);
va += sync_sz;
sz -= sync_sz;
}