x86: Mark LOCORE to prevent build failure on i386 platform

PR:     294468
Reported by:    [email protected]
Tested by:      [email protected]
Discussed with: kib
Fixes:  9289df1949cd ("x86: Add zen identifier helper function")
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56377
This commit is contained in:
ShengYi Hung committed 2026-04-14 12:58:39 +08:00
1 parent 2b954770dd
commit 43d632779b
1 file changed
+2
+2
View File
@@ -54,7 +54,9 @@
#define CPU_AMD_UNKNOWN 0xffffffff
#ifdef _KERNEL
#ifndef LOCORE
u_int ident_zen_cpu(void);
#endif
#endif
#endif /* !_X86_CPUTYPES_H_ */