diff options
author | Alexander Graf <agraf@suse.de> | 2010-08-30 06:01:56 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:51:44 -0400 |
commit | 989044ee0fdc6c22a11ea1d22e2a3d17463cb564 (patch) | |
tree | d1c58948996fe04b471ff4db52fff8474c5d48ca /arch/powerpc/kernel/kvm.c | |
parent | 6230f7fc0453c5bc5daa8e053773021e1c4a2f16 (diff) |
KVM: PPC: Fix CONFIG_KVM_GUEST && !CONFIG_KVM case
When CONFIG_KVM_GUEST is selected, but CONFIG_KVM is not, we were missing
some defines in asm-offsets.c and included too many headers at other places.
This patch makes above configuration work.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kernel/kvm.c')
-rw-r--r-- | arch/powerpc/kernel/kvm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c index e93681753deb..d3a2cc50d611 100644 --- a/arch/powerpc/kernel/kvm.c +++ b/arch/powerpc/kernel/kvm.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/of.h> | 25 | #include <linux/of.h> |
26 | 26 | ||
27 | #include <asm/reg.h> | 27 | #include <asm/reg.h> |
28 | #include <asm/kvm_ppc.h> | ||
29 | #include <asm/sections.h> | 28 | #include <asm/sections.h> |
30 | #include <asm/cacheflush.h> | 29 | #include <asm/cacheflush.h> |
31 | #include <asm/disassemble.h> | 30 | #include <asm/disassemble.h> |