From 49543c52eb258b0022f31991eca0c455963a4d73 Mon Sep 17 00:00:00 2001 From: AlmuHS Date: Thu, 27 Jun 2019 00:49:12 +0200 Subject: fix: added shift to apic_id in machine_slot --- i386/i386/mp_desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index c9c1e372..c1dac103 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -319,7 +319,7 @@ cpu_setup() } apic2kernel[apic_id] = i; - machine_slot[i].apic_id = apic_id; + machine_slot[i].apic_id = apic_id >>24; /* Initialize machine_slot fields with the cpu data */ machine_slot[i].running = TRUE; -- cgit v1.2.3