linux-next: build failure after merge of the kvm tree

From: Stephen Rothwell
Date: Mon Mar 05 2012 - 23:53:50 EST


Hi all,

After merging the kvm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

include/linux/kvm_host.h:813:13: error: 'kvm_vcpu_compatible' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors

Caused by commit ab0bd7dfdaa5 ("KVM: Ensure all vcpus are consistent with
in-kernel irqchip settings").

This function presumably need to be "static inline bool" in the !
CONFIG_KVM_APIC_ARCHITECTURE case.

I have used the kvm tree from next-20120305 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature