mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Generalize single instruction CPU local operations by cpu_local_cell
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
d04111079c
commit
fe68b4b510
@ -115,7 +115,7 @@ fn ap_early_entry(local_apic_id: u32) -> ! {
|
||||
|
||||
// SAFETY: we are on the AP.
|
||||
unsafe {
|
||||
cpu::cpu_local::init_on_ap(local_apic_id);
|
||||
cpu::local::init_on_ap(local_apic_id);
|
||||
}
|
||||
|
||||
trap::init();
|
||||
|
Reference in New Issue
Block a user