git: cb826c230d1b - stable/15 - powerpc/radix: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Sep 2026 13:11:11 UTC
The branch stable/15 has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb826c230d1b5abb684d8d00c96b8a6efcd56171
commit cb826c230d1b5abb684d8d00c96b8a6efcd56171
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:09:28 +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
---
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 f146b1671956..df8887ba56e2 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -6001,7 +6001,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;
}