diff options
author | Alexander Graf | 2010-11-25 10:25:44 +0100 |
---|---|---|
committer | Avi Kivity | 2011-01-12 10:29:42 +0100 |
commit | 27923eb19c5d1197bd9d1472abdc2e749f21387a (patch) | |
tree | bfb6837f34ea815a06e37f3021407d072e6cf8d7 /arch/x86/xen/pci-swiotlb-xen.c | |
parent | KVM: Add instruction-set-specific exit qualifications to kvm_exit trace (diff) | |
download | kernel-qcow2-linux-27923eb19c5d1197bd9d1472abdc2e749f21387a.tar.gz kernel-qcow2-linux-27923eb19c5d1197bd9d1472abdc2e749f21387a.tar.xz kernel-qcow2-linux-27923eb19c5d1197bd9d1472abdc2e749f21387a.zip |
KVM: PPC: Fix compile warning
KVM compilation fails with the following warning:
include/linux/kvm_host.h: In function 'kvm_irq_routing_update':
include/linux/kvm_host.h:679:2: error: 'struct kvm' has no member named 'irq_routing'
That function is only used and reasonable to have on systems that implement
an in-kernel interrupt chip. PPC doesn't.
Fix by #ifdef'ing it out when no irqchip is available.
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/xen/pci-swiotlb-xen.c')
0 files changed, 0 insertions, 0 deletions