mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: sched: move schedule initialization to each pcpu init
schedule infrastructure is per pcpu, so move its initialization to each pcpu's initialization. Tracked-On: #3813 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Yu Wang <yu1.wang@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
dadcdcefa0
commit
fafd5cf063
@@ -218,8 +218,6 @@ void init_pcpu_post(uint16_t pcpu_id)
|
||||
pr_fatal("Please apply the latest CPU uCode patch!");
|
||||
}
|
||||
|
||||
init_scheduler();
|
||||
|
||||
/* Initialize interrupts */
|
||||
init_interrupt(BOOT_CPU_ID);
|
||||
|
||||
@@ -258,6 +256,8 @@ void init_pcpu_post(uint16_t pcpu_id)
|
||||
wait_sync_change(&pcpu_sync, 0UL);
|
||||
}
|
||||
|
||||
init_sched(pcpu_id);
|
||||
|
||||
setup_clos(pcpu_id);
|
||||
|
||||
enable_smep();
|
||||
|
Reference in New Issue
Block a user