aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/booke.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-02-15 18:40:00 -0500
committerAvi Kivity <avi@redhat.com>2012-04-08 05:54:57 -0400
commitbf7ca4bdcb8f1eb15d11879efa824b45443ddb69 (patch)
treeda2e532462cadb2121badb1f477972ecda3dc911 /arch/powerpc/kvm/booke.c
parent1d628af78a28c77143bcdd4ed09e93bb235d4198 (diff)
KVM: PPC: rename CONFIG_KVM_E500 -> CONFIG_KVM_E500V2
The CONFIG_KVM_E500 option really indicates that we're running on a V2 machine, not on a machine of the generic E500 class. So indicate that properly and change the config name accordingly. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r--arch/powerpc/kvm/booke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index fcbe9281543f..9fcc7607a54e 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -762,7 +762,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
762 gpa_t gpaddr; 762 gpa_t gpaddr;
763 gfn_t gfn; 763 gfn_t gfn;
764 764
765#ifdef CONFIG_KVM_E500 765#ifdef CONFIG_KVM_E500V2
766 if (!(vcpu->arch.shared->msr & MSR_PR) && 766 if (!(vcpu->arch.shared->msr & MSR_PR) &&
767 (eaddr & PAGE_MASK) == vcpu->arch.magic_page_ea) { 767 (eaddr & PAGE_MASK) == vcpu->arch.magic_page_ea) {
768 kvmppc_map_magic(vcpu); 768 kvmppc_map_magic(vcpu);