From d9c38bafa5fb5358f0989dd5e2f864afdf40d423 Mon Sep 17 00:00:00 2001 From: Victor Sun Date: Tue, 15 Jan 2019 21:11:51 +0800 Subject: [PATCH] HV: remove unused mptable info mptable pointer in acrn_vm_config struct and also extern struct mptable_vm1/2 declared in mptable.h are not used any more, remove them. Tracked-On: #2291 Signed-off-by: Victor Sun Acked-by: Eddie Dong --- hypervisor/include/arch/x86/guest/vm.h | 1 - hypervisor/include/dm/mptable.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/hypervisor/include/arch/x86/guest/vm.h b/hypervisor/include/arch/x86/guest/vm.h index 1c031156a..bf8b17049 100644 --- a/hypervisor/include/arch/x86/guest/vm.h +++ b/hypervisor/include/arch/x86/guest/vm.h @@ -225,7 +225,6 @@ struct acrn_vm_config { bool sworld_supported; #ifdef CONFIG_PARTITION_MODE uint8_t vm_id; - struct mptable_info *mptable; uint64_t start_hpa; uint64_t mem_size; /* UOS memory size in hex */ bool vm_vuart; diff --git a/hypervisor/include/dm/mptable.h b/hypervisor/include/dm/mptable.h index d86e19b56..5a6592a2c 100644 --- a/hypervisor/include/dm/mptable.h +++ b/hypervisor/include/dm/mptable.h @@ -146,9 +146,6 @@ struct mptable_info { struct proc_entry proc_entry_array[CONFIG_MAX_PCPU_NUM]; }; -extern struct mptable_info mptable_vm1; -extern struct mptable_info mptable_vm2; - int32_t mptable_build(struct acrn_vm *vm); #endif /* MPTABLE_H */