move global x2apic_enabled into arch dir

the x2apic_enabled should be x86 specific field.

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
This commit is contained in:
Jason Chen CJ
2018-07-29 18:17:01 +08:00
committed by lijinxia
parent 72f9c9a26e
commit 63ef1236de
4 changed files with 5 additions and 3 deletions

View File

@@ -190,6 +190,5 @@ struct vm *get_vm_from_vmid(uint16_t vm_id);
extern struct list_head vm_list;
extern spinlock_t vm_list_lock;
extern bool x2apic_enabled;
#endif /* VM_H_ */