Skip to content

Commit

Permalink
KVM: ppc: ifdef iccci with CONFIG_44x
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hollis Blanchard authored and Avi Kivity committed Mar 24, 2009
1 parent 366d4b9 commit 17c885e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/kvm/booke_interrupts.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17c885e

Please sign in to comment.