kvm: ppc: ifdef iccci with CONFIG_44x
Subsystems (2)
PATCH 1/1 kvm: ppc: ifdef iccci with CONFIG_44x
E500 deosn't support this instruction.
Signed-off-by Liu Yu <[email protected]>
Signed-off-by Hollis Blanchard <[email protected]>
arch/powerpc/kvm/booke_interrupts.S +2 -0
@@ -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)