mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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:
1 parent
2b954770dd
commit
43d632779b
1 file changed
+2
@@ -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_ */
|
||||
Reference in new issue
Block a user