diff options
author | AlmuHS <almuhs@github.com> | 2019-07-08 21:38:15 +0200 |
---|---|---|
committer | AlmuHS <almuhs@github.com> | 2019-07-08 21:38:15 +0200 |
commit | 40fcb1c13691c3c6e64ef6ced595dab63688ad80 (patch) | |
tree | 47d688229e265ed05947dd6abc3b77fd9fe46ef2 | |
parent | 90ca35f8c0d8d84093628bcc1ffe78f5479b51e3 (diff) |
fix: remove shift 24 in machine_slot apic_id
-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 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; |