mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-20 00:08:07 +00:00
hv: remove unused cpu_primary_save_32()
In direct boot mode, boot_context[] which is saved from cpu_primary_save_32()
is no longer used since commit 6beb34c3cb
("vm_load: update init gdt
preparation"). Thus, the call to it and the function itself can be removed.
Tracked-On: #4441
Reviewed-by: Fengwei Yin <fengwei.yin@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
@@ -84,9 +84,6 @@ cpu_primary_start_32:
|
||||
movl %eax, (boot_regs)
|
||||
movl %ebx, (boot_regs+4)
|
||||
|
||||
/* Save boot context from 32bit mode */
|
||||
call cpu_primary_save_32
|
||||
|
||||
/* Disable interrupts */
|
||||
cli
|
||||
|
||||
|
Reference in New Issue
Block a user