]> git.karo-electronics.de Git - linux-beck.git/commitdiff
KVM: ppc: ifdef iccci with CONFIG_44x
authorHollis Blanchard <hollisb@us.ibm.com>
Sat, 3 Jan 2009 22:23:09 +0000 (16:23 -0600)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:02:58 +0000 (11:02 +0200)
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>
arch/powerpc/kvm/booke_interrupts.S

index 084ebcd7dd83f416136d323f998beb52cc303709..4679ec287e6211e5db7e5f6e70f1077300069859 100644 (file)
@@ -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)