From 40fcb1c13691c3c6e64ef6ced595dab63688ad80 Mon Sep 17 00:00:00 2001 From: AlmuHS Date: Mon, 8 Jul 2019 21:38:15 +0200 Subject: fix: remove shift 24 in machine_slot apic_id --- 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 e9834111..212fa624 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -325,7 +325,7 @@ cpu_setup() } apic2kernel[apic_id] = i; - machine_slot[i].apic_id = apic_id >>24; + machine_slot[i].apic_id = apic_id; /* Initialize machine_slot fields with the cpu data */ machine_slot[i].running = TRUE; -- cgit v1.2.3