BSP apic id
- BSP apic id used uninitialized causes problems
This commit is contained in:
parent
e6b1a30a26
commit
f42b90806a
2 changed files with 4 additions and 0 deletions
|
@ -1092,6 +1092,8 @@ PUBLIC int apic_single_cpu_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bsp_lapic_id = apicid();
|
||||
|
||||
acpi_init();
|
||||
|
||||
if (!detect_ioapics()) {
|
||||
|
|
|
@ -317,6 +317,8 @@ PUBLIC void smp_init (void)
|
|||
printf("ERROR : failed to initialize BSP Local APIC\n");
|
||||
goto uniproc_fallback;
|
||||
}
|
||||
|
||||
bsp_lapic_id = apicid();
|
||||
|
||||
acpi_init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue