Commit 433c5c20 authored by Michael Ellerman's avatar Michael Ellerman

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
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/anon_inodes.h> #include <linux/anon_inodes.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/kvm_book3s.h> #include <asm/kvm_book3s.h>
...@@ -20,7 +21,6 @@ ...@@ -20,7 +21,6 @@
#include <asm/xics.h> #include <asm/xics.h>
#include <asm/debug.h> #include <asm/debug.h>
#include <asm/time.h> #include <asm/time.h>
#include <asm/spinlock.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
......
Markdown is supported
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