diff options
author | AlmuHS <almuhs@github.com> | 2019-06-27 00:49:12 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-06-27 00:49:12 +0200 |
commit | 49543c52eb258b0022f31991eca0c455963a4d73 (patch) | |
tree | 2a01383f6e84c22aa6c847f1bff28495a8a10628 | |
parent | b8596e4106f8b710cf8208322e4bfc2d36d03829 (diff) |
fix: added shift to apic_id in machine_slot
-rw-r--r-- | i386/i386/mp_desc.c | 2 |
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; |