diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-04-13 14:46:43 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-04-14 04:58:39 +0000 |
| commit | 43d632779b7d1df6c96a5cc0f506c13e09a845f3 (patch) | |
| tree | 75d90c0b59ddb05b9893550ff0afcd574a808a96 | |
| parent | 2b954770ddd7a4246c2100373d86ef5316becd81 (diff) | |
x86: Mark LOCORE to prevent build failure on i386 platform
PR: 294468
Reported by: dan.kotowski@a9development.com
Tested by: dan.kotowski@a9development.com
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
| -rw-r--r-- | sys/x86/include/cputypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/x86/include/cputypes.h b/sys/x86/include/cputypes.h index ed26304a89ac..0b6f0f3746a9 100644 --- a/sys/x86/include/cputypes.h +++ b/sys/x86/include/cputypes.h @@ -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_ */ |
