KVM: Fix compilation on non-x86
commita9c5eb0db1739d53e7a3b1491e496eb25d3db3f4
authorAlexander Graf <agraf@suse.de>
Wed, 25 Jan 2012 17:28:05 +0000 (25 18:28 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 2 Feb 2012 01:47:46 +0000 (2 02:47 +0100)
tree4318aeeef63014bcd9fecab490a5f2f822c46cba
parent21a0b6ed1dd9f1d8e3d953954847776c8697bd99
KVM: Fix compilation on non-x86

Commit 84b058d broke compilation for KVM on non-x86 targets, which
don't have KVM_CAP_IRQ_ROUTING defined.

Fix by not using the unavailable constant when it's not around.

Signed-off-by: Alexander Graf <agraf@suse.de>
kvm-all.c