Re: KVM: PPC: Book3S HV: Fix build error when SMP=n

2016-10-26 Thread Michael Ellerman
On Thu, 2016-20-10 at 03:57:12 UTC, Michael Ellerman wrote: > Commit 5d375199ea96 ("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' > >

[PATCH] KVM: PPC: Book3S HV: Fix build error when SMP=n

2016-10-19 Thread Michael Ellerman
Commit 5d375199ea96 ("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