From: Avi Kivity <a...@redhat.com> Signed-off-by: Avi Kivity <a...@redhat.com>
diff --git a/ia64/external-module-compat.h b/ia64/external-module-compat.h index 8ccad90..60a83a1 100644 --- a/ia64/external-module-compat.h +++ b/ia64/external-module-compat.h @@ -24,6 +24,10 @@ typedef u64 phys_addr_t; #error "KVM/IA-64 depends on preempt notifiers in kernel." #endif +#ifndef CONFIG_KVM_APIC_ARCHITECTURE +#define CONFIG_KVM_APIC_ARCHITECTURE +#endif + /* smp_call_function() lost an argument in 2.6.27. */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 273bfee..f7aa151 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -22,6 +22,10 @@ typedef u64 phys_addr_t; #define CONFIG_HAVE_KVM_EVENTFD 1 #endif +#ifndef CONFIG_KVM_APIC_ARCHITECTURE +#define CONFIG_KVM_APIC_ARCHITECTURE +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) #ifdef CONFIG_X86_64 -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html