diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-06-08 17:07:12 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-06-08 17:07:12 -0700 |
commit | b8f128231b53810dbbc5dae5f403cdf8ce0fab9b (patch) | |
tree | 86370fc393ded832054e47e15c2c959ec3ad6451 /kvm_host.h | |
parent | 92f8225b1255e8d3f8f53fdf81d8f0b64e84a9ef (diff) | |
download | illumos-kvm-b8f128231b53810dbbc5dae5f403cdf8ce0fab9b.tar.gz |
HVM-344 Always include code in KVM_HAVE_KVM_IRQCHIP
Diffstat (limited to 'kvm_host.h')
-rw-r--r-- | kvm_host.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -223,11 +223,9 @@ typedef struct kvm { #endif kmutex_t irq_lock; -#ifdef CONFIG_HAVE_KVM_IRQCHIP struct kvm_irq_routing_table *irq_routing; list_t mask_notifier_list; list_t irq_ack_notifier_list; -#endif #if defined(KVM_ARCH_WANT_MMU_NOTIFIER) && defined(CONFIG_MMU_NOTIFIER) struct mmu_notifier mmu_notifier; @@ -498,8 +496,6 @@ void kvm_migrate_timers(struct kvm_vcpu *vcpu); #define unalias_gfn_instantiation unalias_gfn #endif -#ifdef CONFIG_HAVE_KVM_IRQCHIP - int kvm_setup_default_irq_routing(struct kvm *kvm); int kvm_set_irq_routing(struct kvm *kvm, const struct kvm_irq_routing_entry *entries, @@ -507,12 +503,6 @@ int kvm_set_irq_routing(struct kvm *kvm, unsigned flags); void kvm_free_irq_routing(struct kvm *kvm); -#else - -static void kvm_free_irq_routing(struct kvm *kvm) {} - -#endif /*CONFIG_HAVE_KVM_IRQCHIP*/ - #ifdef CONFIG_KVM_APIC_ARCHITECTURE extern int kvm_vcpu_is_bsp(struct kvm_vcpu *); #endif |