summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_64_mmu.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2014-05-05 08:39:44 +0530
committerAlexander Graf <agraf@suse.de>2014-05-30 14:26:18 +0200
commite5ee5422f8867d8b8108f8e1f0f47dc59b043f5b (patch)
treee9d4ee8a35e32b1fd83a555515f5854e51f0468a /arch/powerpc/kvm/book3s_64_mmu.c
parent8f20a3ab27342171462781cef4637c18d3dbc5f8 (diff)
downloadlinux-e5ee5422f8867d8b8108f8e1f0f47dc59b043f5b.tar.gz
linux-e5ee5422f8867d8b8108f8e1f0f47dc59b043f5b.tar.bz2
linux-e5ee5422f8867d8b8108f8e1f0f47dc59b043f5b.zip
KVM: PPC: BOOK3S: PR: Enable Little Endian PR guest
This patch make sure we inherit the LE bit correctly in different case so that we can run Little Endian distro in PR mode Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu.c')
-rw-r--r--arch/powerpc/kvm/book3s_64_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_64_mmu.c b/arch/powerpc/kvm/book3s_64_mmu.c
index 83da1f868fd5..8231b83c493b 100644
--- a/arch/powerpc/kvm/book3s_64_mmu.c
+++ b/arch/powerpc/kvm/book3s_64_mmu.c
@@ -38,7 +38,7 @@
static void kvmppc_mmu_book3s_64_reset_msr(struct kvm_vcpu *vcpu)
{
- kvmppc_set_msr(vcpu, MSR_SF);
+ kvmppc_set_msr(vcpu, vcpu->arch.intr_msr);
}
static struct kvmppc_slb *kvmppc_mmu_book3s_64_find_slbe(