Message ID | 55BA14DF.40808@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 821637f69d38..27ccdf91a465 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -329,6 +329,7 @@ struct kvm_kernel_irq_routing_entry { struct hlist_node link; }; +#ifdef CONFIG_HAVE_KVM_IRQCHIP struct kvm_irq_routing_table { int chip[KVM_NR_IRQCHIPS][KVM_IRQCHIP_NUM_PINS]; struct kvm_kernel_irq_routing_entry *rt_entries; @@ -339,6 +340,7 @@ struct kvm_irq_routing_table { */ struct hlist_head map[0]; }; +#endif #ifndef KVM_PRIVATE_MEM_SLOTS #define KVM_PRIVATE_MEM_SLOTS 0