diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2009-02-26 13:55:33 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 11:48:24 +0300 |
commit | b95b51d580bff9376850eef29d34c3aa08c26db7 (patch) | |
tree | 54f505ef2fba99adc38580f631556cb756f6df2f /arch/x86/kvm/i8254.c | |
parent | a90ede7b17d122acd58e6e1ff911be9dcf5263cc (diff) | |
download | lwn-b95b51d580bff9376850eef29d34c3aa08c26db7.tar.gz lwn-b95b51d580bff9376850eef29d34c3aa08c26db7.zip |
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 <borntraeger@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8254.c')
0 files changed, 0 insertions, 0 deletions