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

@@ -8,8 +8,6 @@
#include <schedule.h>
#include <softirq.h>
bool x2apic_enabled;
static void run_vcpu_pre_work(struct vcpu *vcpu)
{
uint64_t *pending_pre_work = &vcpu->pending_pre_work;