Re: [PATCH] kvm: declare kvm_ioapic in kvm_host.h

Avi Kivity
2009-02-26T12:44:26Z

Christian Borntraeger wrote:
> With todays git I get the following warnings on s390:
>
> 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
> [...]
>
> Declaring struct kvm_ioapic should help.
>
>

Better to limit the declaration to archs that have ioapics... do we have
a KVM_HAVE_IOAPIC define?

--
error compiling committee.c: too many arguments to function