aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-11-05 09:36:19 -0600
committerAvi Kivity <avi@redhat.com>2008-12-31 16:52:22 +0200
commit5cf8ca22146fa106f3bb865631ec04f5b499508f (patch)
tree4a32a552277e4c3a6a103f05d164dfc97dbf2bae /arch/powerpc/kvm/emulate.c
parentdb93f5745d836f81cef0b4101a7c2685eeb55efb (diff)
downloadkernel_samsung_smdk4412-5cf8ca22146fa106f3bb865631ec04f5b499508f.zip
kernel_samsung_smdk4412-5cf8ca22146fa106f3bb865631ec04f5b499508f.tar.gz
kernel_samsung_smdk4412-5cf8ca22146fa106f3bb865631ec04f5b499508f.tar.bz2
KVM: ppc: adjust vcpu types to support 64-bit cores
However, some of these fields could be split into separate per-core structures in the future. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
-rw-r--r--arch/powerpc/kvm/emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 30a49f8..814f1e6 100644
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -380,7 +380,7 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu)
}
}
- KVMTRACE_3D(PPC_INSTR, vcpu, inst, vcpu->arch.pc, emulated, entryexit);
+ KVMTRACE_3D(PPC_INSTR, vcpu, inst, (int)vcpu->arch.pc, emulated, entryexit);
if (advance)
vcpu->arch.pc += 4; /* Advance past emulated instruction. */