mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: fixed compiling warning
removed some unnecessary variables and functions. v1-->v2: Replace div-by-zero with an inline ASM code Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -104,7 +104,7 @@ static void efi_init(void)
|
||||
|
||||
vm_sw_loader = uefi_sw_loader;
|
||||
|
||||
spurious_handler = efi_spurious_handler;
|
||||
spurious_handler = (spurious_handler_t)efi_spurious_handler;
|
||||
|
||||
save_lapic(&uefi_lapic_regs);
|
||||
|
||||
|
Reference in New Issue
Block a user