summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2009-01-04 01:23:09 +0300
committerAvi Kivity <avi@redhat.com>2009-03-24 12:02:58 +0300
commit17c885eb5c38f39a2bb3143a67687bd905dcd0fa (patch)
tree68b9934b15dace3e164921c4170be19ac1478e84 /arch/powerpc
parent366d4b9b9fdda282006b97316f8038cd36f8ecb7 (diff)
downloadlinux-17c885eb5c38f39a2bb3143a67687bd905dcd0fa.tar.xz
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')
-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)