https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295975

--- Comment #3 from Martin Birgmeier <[email protected]> ---
Proposed patch:

iff --git a/sys/x86/x86/ucode.c b/sys/x86/x86/ucode.c
index 613a7b03489f..814805888fbd 100644
--- a/sys/x86/x86/ucode.c
+++ b/sys/x86/x86/ucode.c
@@ -369,7 +369,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;

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to