git: f4cd99131c70 - main - x86/ucode.c: supposedly fix i386 compilation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Jun 2026 00:51:46 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=f4cd99131c70e8be2a793d939b644e20bbbd3374
commit f4cd99131c70e8be2a793d939b644e20bbbd3374
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-22 00:48:11 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-22 00:51:28 +0000
x86/ucode.c: supposedly fix i386 compilation
Fixes: 16f21c5af350 ("amd64: there is no reason to copy ucode around in ucode_load_bsp()")
PR: 295926
Submitted by: Martin Birgmeier <d8zNeCFG@aon.at>
MFC after: 3 days
---
sys/x86/x86/ucode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/x86/x86/ucode.c b/sys/x86/x86/ucode.c
index 439b0b83e650..8ee0c2978638 100644
--- a/sys/x86/x86/ucode.c
+++ b/sys/x86/x86/ucode.c
@@ -385,7 +385,7 @@ map_ucode(const void *match, uintptr_t free, size_t len)
for (va = free; va < free + len; va += PAGE_SIZE)
pmap_kenter(va, (vm_paddr_t)va);
- memcpy_early(free, match, len);
+ memcpy_early((void *)free, match, len);
return ((const void *)free);
#else
(void)len;