x86_64: smp: flag cpu as online during bootstrap
This commit is contained in:
@@ -38,6 +38,7 @@ extern "C" void ap_trampoline_exit(void)
|
|||||||
|
|
||||||
ap_apic_init();
|
ap_apic_init();
|
||||||
|
|
||||||
|
cpu_set_online(cpu_id);
|
||||||
__this_ap_ok = 1;
|
__this_ap_ok = 1;
|
||||||
irq_enable();
|
irq_enable();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user