]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Book3S HV: Fix compilation with unusual configurations
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 24 Nov 2016 03:10:43 +0000 (14:10 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 24 Nov 2016 03:20:00 +0000 (14:20 +1100)
commite2702871b4b70a39e08c46744a8fa16e281120aa
tree5630c4c4ada3e16078c139e44abd32d7bc850ca9
parent2ee13be34b135957733b84ef5f7bd30c80ec3c42
KVM: PPC: Book3S HV: Fix compilation with unusual configurations

This adds the "again" parameter to the dummy version of
kvmppc_check_passthru(), so that it matches the real version.
This fixes compilation with CONFIG_BOOK3S_64_HV set but
CONFIG_KVM_XICS=n.

This includes asm/smp.h in book3s_hv_builtin.c to fix compilation
with CONFIG_SMP=n.  The explicit inclusion is necessary to provide
definitions of hard_smp_processor_id() and get_hard_smp_processor_id()
in UP configs.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv_builtin.c