[PATCH 07/37] KVM: ppc: ifdef iccci with CONFIG_44x

From: Avi Kivity
Date: Fri Feb 27 2009 - 05:40:57 EST


From: Hollis Blanchard <hollisb@xxxxxxxxxx>

E500 deosn't support this instruction.

Signed-off-by: Liu Yu <yu.liu@xxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
---
arch/powerpc/kvm/booke_interrupts.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kvm/booke_interrupts.S b/arch/powerpc/kvm/booke_interrupts.S
index 084ebcd..4679ec2 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)
--
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/