From: Alexander Graf Date: Thu, 25 Nov 2010 09:25:44 +0000 (+0100) Subject: KVM: PPC: Fix compile warning X-Git-Tag: v2.6.38-rc1~244^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27923eb19c5d1197bd9d1472abdc2e749f21387a;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed