[PATCH] powerpc/kvm: Fix SMP=n build error in book3s_xics.c

Paul Mackerras paulus at samba.org
Tue Apr 28 14:36:12 AEST 2015


On Tue, Apr 28, 2015 at 10:42:47AM +1000, Michael Ellerman wrote:
> Commit 34cb7954c0aa "Convert ICS mutex lock to spin lock" added an
> include of asm/spinlock.h, which does not work in the SMP=n case.
> 
> It should instead include linux/spinlock.h
> 
> Fixes: 34cb7954c0aa ("KVM: PPC: Book3S HV: Convert ICS mutex lock to spin lock")
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Acked-by: Paul Mackerras <paulus at samba.org>


More information about the Linuxppc-dev mailing list