KVM: Move more code under CONFIG_HAVE_KVM_IRQFD
[sfrench/cifs-2.6.git] / include / linux / kvm_host.h
index 8593d2e61cbf765ca3bb18ae6fe46a10078aafb1..a4c33b34fe3f0c7f3366a320c6df4534001c24b7 100644 (file)
@@ -388,6 +388,8 @@ struct kvm {
         */
        struct kvm_irq_routing_table __rcu *irq_routing;
        struct hlist_head mask_notifier_list;
+#endif
+#ifdef CONFIG_HAVE_KVM_IRQFD
        struct hlist_head irq_ack_notifier_list;
 #endif