From: Christian Borntraeger Date: Thu, 26 Feb 2009 12:55:33 +0000 (+0100) Subject: KVM: declare ioapic functions only on affected hardware X-Git-Tag: v2.6.31-rc1~393^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b95b51d580bff9376850eef29d34c3aa08c26db7;p=pandora-kernel.git KVM: declare ioapic functions only on affected hardware Since "KVM: Unify the delivery of IOAPIC and MSI interrupts" I get the following warnings: CC [M] arch/s390/kvm/kvm-s390.o In file included from arch/s390/kvm/kvm-s390.c:22: include/linux/kvm_host.h:357: warning: 'struct kvm_ioapic' declared inside parameter list include/linux/kvm_host.h:357: warning: its scope is only this definition or declaration, which is probably not what you want This patch limits IOAPIC functions for architectures that have one. Signed-off-by: Christian Borntraeger Signed-off-by: Avi Kivity --- Reading git-diff-tree failed