]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Fix build error when SMP=n
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Oct 2016 02:32:55 +0000 (13:32 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Oct 2016 21:44:37 +0000 (08:44 +1100)
commitcb87bc4b78e0db8275b716da507110b6a7609c9f
tree5a8c69867b97a3761b34f350fdd7287621ab9ada
parent0c929aa1e5716e66de819e9022fb547cdf351cf0
KVM: PPC: Book3S HV: Fix build error when SMP=n

Commit 32e7326ef856 ("KVM: PPC: Book3S HV: Set server for passed-through
interrupts") broke the SMP=n build:

  arch/powerpc/kvm/book3s_hv_rm_xics.c:758:2: error: implicit declaration of function 'get_hard_smp_processor_id'

That is because we lost the implicit include of asm/smp.h, so include it
explicitly to get the definition for get_hard_smp_processor_id().

Fixes: 32e7326ef856 ("KVM: PPC: Book3S HV: Set server for passed-through interrupts")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_hv_rm_xics.c