summaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r--i386/i386at/model_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index e47ef317..e5ad89a8 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -689,7 +689,7 @@ void c_boot_entry(vm_offset_t bi)
}
if(lapic != 0){
- apic_id = lapic->apic_id.r;
+ apic_id = lapic->apic_id.r >>24;
//update BSP machine_slot and apic2kernel
machine_slot[0].apic_id = apic_id;