summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2009-01-03 23:23:09 +0100
committerAvi Kivity <avi@redhat.com>2009-03-24 10:02:58 +0100
commit17c885eb5c38f39a2bb3143a67687bd905dcd0fa (patch)
tree68b9934b15dace3e164921c4170be19ac1478e84 /arch/powerpc/kvm
parentKVM: ppc: No need to include core-header for KVM in asm-offsets.c currently (diff)
downloadlinux-17c885eb5c38f39a2bb3143a67687bd905dcd0fa.tar.xz
linux-17c885eb5c38f39a2bb3143a67687bd905dcd0fa.zip
KVM: ppc: ifdef iccci with CONFIG_44x
E500 deosn't support this instruction. Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/booke_interrupts.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke_interrupts.S b/arch/powerpc/kvm/booke_interrupts.S
index 084ebcd7dd83..4679ec287e62 100644
--- a/arch/powerpc/kvm/booke_interrupts.S
+++ b/arch/powerpc/kvm/booke_interrupts.S
@@ -347,7 +347,9 @@ lightweight_exit:
lwz r3, VCPU_SHADOW_PID(r4)
mtspr SPRN_PID, r3
+#ifdef CONFIG_44x
iccci 0, 0 /* XXX hack */
+#endif
/* Load some guest volatiles. */
lwz r0, VCPU_GPR(r0)(r4)