Skip to content
Commit 433c5c20 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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

Commit 34cb7954 "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: 34cb7954

 ("KVM: PPC: Book3S HV: Convert ICS mutex lock to spin lock")
Acked-by: default avatarPaul Mackerras <paulus@samba.org>
Reviewed-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent b787f68c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment