Page MenuHomeFreeBSD

D38235.diff
No OneTemporary

D38235.diff

diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c
--- a/sys/x86/x86/mp_x86.c
+++ b/sys/x86/x86/mp_x86.c
@@ -980,10 +980,9 @@
cpu_add(u_int apic_id, char boot_cpu)
{
- if (apic_id > max_apic_id) {
+ if (apic_id > max_apic_id)
panic("SMP: APIC ID %d too high", apic_id);
- return;
- }
+
KASSERT(cpu_info[apic_id].cpu_present == 0, ("CPU %u added twice",
apic_id));
cpu_info[apic_id].cpu_present = 1;

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 5:14 PM (6 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16201508
Default Alt Text
D38235.diff (424 B)

Event Timeline