]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm: Fix SMP=n build error in book3s_xics.c
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Apr 2015 00:34:35 +0000 (10:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Apr 2015 22:06:32 +0000 (08:06 +1000)
commit25f468ab2b684930227162c103e0166db73170db
treea3c91f13736a29cd5f81628e378869526445c07f
parentce88222e1fb53c38d3b94c3b5ceebe1d2ab4956d
powerpc/kvm: Fix SMP=n build error in book3s_xics.c

Commit d652b1f0ca41 "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: d652b1f0ca41 ("KVM: PPC: Book3S HV: Convert ICS mutex lock to spin lock")
Acked-by: Paul Mackerras <paulus@samba.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_xics.c