Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2026 16:35:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 294468] x86/cputypes.h:57:21: error: expected register here
Message-ID:  <bug-294468-227-b8Z7yEVJNS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294468-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #5 from Dan Kotowski <dan.kotowski@a9development.com> ---
(In reply to ShengYi Hung from comment #4)

Actually s/_LOCORE/LOCORE/


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_ */


--------------------------------------------------------------
>>> Kernel build for GENERIC completed on Mon Apr 13 16:27:27 UTC 2026
--------------------------------------------------------------
>>> Kernel(s)  GENERIC built in 144 seconds, ncpu: 32, make -j32
--------------------------------------------------------------

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294468-227-b8Z7yEVJNS>