X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fhypervisor.h;h=7a15153c675ddc1a87c4e736bbd472a008cf5789;hp=0c6f7af7fda8e5f8eb169c529dc92a7cfa973725;hb=d9b8ca8474fd4fdd43ba6d97a4fee8b49b978067;hpb=2904ed8dd5a748c52caf4d8b09d3d9834b5932fa diff --git a/arch/x86/include/asm/hypervisor.h b/arch/x86/include/asm/hypervisor.h index 0c6f7af7fda8..7a15153c675d 100644 --- a/arch/x86/include/asm/hypervisor.h +++ b/arch/x86/include/asm/hypervisor.h @@ -21,6 +21,7 @@ #define _ASM_X86_HYPERVISOR_H #include +#include extern void init_hypervisor(struct cpuinfo_x86 *c); extern void init_hypervisor_platform(void); @@ -53,6 +54,8 @@ static inline bool hypervisor_x2apic_available(void) { if (kvm_para_available()) return true; + if (xen_x2apic_para_available()) + return true; return false; }