summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-03-05 22:42:25 +0100
committerAvi Kivity <avi@redhat.com>2012-04-08 13:01:34 +0200
commit7657f4089b097846cc37bfa2b74fc0bd2bd60e30 (patch)
tree23ab60ce34d29b1cd59e85eb78e760924af3c4bc /arch/powerpc/kvm
parentRestore guest CR after exit timing calculation (diff)
downloadlinux-7657f4089b097846cc37bfa2b74fc0bd2bd60e30.tar.xz
linux-7657f4089b097846cc37bfa2b74fc0bd2bd60e30.zip
KVM: PPC: Book 3S: Fix compilation for !HV configs
Commits 2f5cdd5487 ("KVM: PPC: Book3S HV: Make secondary threads more robust against stray IPIs") and 1c2066b0f7 ("KVM: PPC: Book3S HV: Make virtual processor area registration more robust") added fields to struct kvm_vcpu_arch inside #ifdef CONFIG_KVM_BOOK3S_64_HV regions, and added lines to arch/powerpc/kernel/asm-offsets.c to generate assembler constants for their offsets. Unfortunately this led to compile errors on Book 3S machines for configs that had KVM enabled but not CONFIG_KVM_BOOK3S_64_HV. This fixes the problem by moving the offending lines inside #ifdef CONFIG_KVM_BOOK3S_64_HV regions. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
0 files changed, 0 insertions, 0 deletions