• Michael Ellerman's avatar
    KVM: PPC: Book3S HV: Fix build error when SMP=n · 62623d5f
    Michael Ellerman authored
    Commit 5d375199 ("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: 5d375199 ("KVM: PPC: Book3S HV: Set server for passed-through interrupts")
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    62623d5f
book3s_hv_rm_xics.c 22.4 KB