KVM: PPC: Fix CONFIG_KVM_GUEST && !CONFIG_KVM case
authorAlexander Graf <agraf@suse.de>
Mon, 30 Aug 2010 10:01:56 +0000 (12:01 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:44 +0000 (10:51 +0200)
commit989044ee0fdc6c22a11ea1d22e2a3d17463cb564
treed1c58948996fe04b471ff4db52fff8474c5d48ca
parent6230f7fc0453c5bc5daa8e053773021e1c4a2f16
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>
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/kvm.c