diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2009-01-03 17:23:09 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:02:58 -0400 |
commit | 17c885eb5c38f39a2bb3143a67687bd905dcd0fa (patch) | |
tree | 68b9934b15dace3e164921c4170be19ac1478e84 /arch/powerpc/kvm | |
parent | 366d4b9b9fdda282006b97316f8038cd36f8ecb7 (diff) |
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.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 084ebcd7dd83..4679ec287e62 100644 --- a/arch/powerpc/kvm/booke_interrupts.S +++ b/arch/powerpc/kvm/booke_interrupts.S | |||
@@ -347,7 +347,9 @@ lightweight_exit: | |||
347 | lwz r3, VCPU_SHADOW_PID(r4) | 347 | lwz r3, VCPU_SHADOW_PID(r4) |
348 | mtspr SPRN_PID, r3 | 348 | mtspr SPRN_PID, r3 |
349 | 349 | ||
350 | #ifdef CONFIG_44x | ||
350 | iccci 0, 0 /* XXX hack */ | 351 | iccci 0, 0 /* XXX hack */ |
352 | #endif | ||
351 | 353 | ||
352 | /* Load some guest volatiles. */ | 354 | /* Load some guest volatiles. */ |
353 | lwz r0, VCPU_GPR(r0)(r4) | 355 | lwz r0, VCPU_GPR(r0)(r4) |