aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
-rw-r--r--arch/powerpc/kvm/emulate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 814f1e687857..4c30fa0c31ea 100644
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -74,8 +74,8 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu)
74 int advance = 1; 74 int advance = 1;
75 75
76 switch (get_op(inst)) { 76 switch (get_op(inst)) {
77 case 3: /* trap */ 77 case 3: /* trap */
78 printk("trap!\n"); 78 vcpu->arch.esr |= ESR_PTR;
79 kvmppc_core_queue_program(vcpu); 79 kvmppc_core_queue_program(vcpu);
80 advance = 0; 80 advance = 0;
81 break; 81 break;