Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144934551
D37060.1776952821.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
468 B
Referenced Files
None
Subscribers
None
D37060.1776952821.diff
View Options
Index: sys/x86/x86/mp_x86.c
===================================================================
--- sys/x86/x86/mp_x86.c
+++ sys/x86/x86/mp_x86.c
@@ -145,8 +145,10 @@
struct cpu_info *cpu_info;
int *apic_cpuids;
int cpu_apic_ids[MAXCPU];
+#ifdef __i386__
_Static_assert(MAXCPU <= MAX_APIC_ID,
"MAXCPU cannot be larger that MAX_APIC_ID");
+#endif
_Static_assert(xAPIC_MAX_APIC_ID <= MAX_APIC_ID,
"xAPIC_MAX_APIC_ID cannot be larger that MAX_APIC_ID");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 23, 2:00 PM (2 h, 52 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28417237
Default Alt Text
D37060.1776952821.diff (468 B)
Attached To
Mode
D37060: Limit MAXCPU <= MAX_APIC_ID assertion to i386
Attached
Detach File
Event Timeline
Log In to Comment