summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/mp_desc.c2
1 files changed, 1 insertions, 1 deletions
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;