diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2012-06-15 15:07:02 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-06-18 16:06:35 +0300 |
commit | 9900b4b48b095895cf962054e45aafa49ef70f74 (patch) | |
tree | d831176b62979612b2d4e5504d2d2de1ddee3817 /include/linux/kvm_host.h | |
parent | dcce0489477f07ac1331aee71f18d6274e19a9c1 (diff) | |
download | op-kernel-dev-9900b4b48b095895cf962054e45aafa49ef70f74.zip op-kernel-dev-9900b4b48b095895cf962054e45aafa49ef70f74.tar.gz |
KVM: use KVM_CAP_IRQ_ROUTING to protect the routing related code
The KVM code sometimes uses CONFIG_HAVE_KVM_IRQCHIP to protect
code that is related to IRQ routing, which not all in-kernel
irqchips may support.
Use KVM_CAP_IRQ_ROUTING instead.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 27ac8a4..c7f7787 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -802,7 +802,7 @@ static inline int mmu_notifier_retry(struct kvm_vcpu *vcpu, unsigned long mmu_se } #endif -#ifdef CONFIG_HAVE_KVM_IRQCHIP +#ifdef KVM_CAP_IRQ_ROUTING #define KVM_MAX_IRQ_ROUTES 1024 |