Date: Tue, 14 Apr 2026 04:59:03 +0000 From: ShengYi Hung <aokblast@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 43d632779b7d - main - x86: Mark LOCORE to prevent build failure on i386 platform Message-ID: <69ddc997.341a8.301b82f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=43d632779b7d1df6c96a5cc0f506c13e09a845f3 commit 43d632779b7d1df6c96a5cc0f506c13e09a845f3 Author: ShengYi Hung <aokblast@FreeBSD.org> AuthorDate: 2026-04-13 14:46:43 +0000 Commit: ShengYi Hung <aokblast@FreeBSD.org> CommitDate: 2026-04-14 04:58:39 +0000 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 --- sys/x86/include/cputypes.h | 2 ++ 1 file changed, 2 insertions(+) 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_ */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ddc997.341a8.301b82f>
