Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329824
b: refs/heads/master
c: 4a4541a
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity authored and Marcelo Tosatti committed Jul 30, 2012
1 parent 5d77b50 commit 2c5ae83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ade38c311a0ad8c32e902fe1d0ae74d0d44bc71e
refs/heads/master: 4a4541a40e1fe145c72c4b959fac524a5600d9fb
6 changes: 4 additions & 2 deletions trunk/arch/x86/kvm/lapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,12 +696,14 @@ static u32 __apic_read(struct kvm_lapic *apic, unsigned int offset)

val = apic_get_tmcct(apic);
break;

case APIC_PROCPRI:
apic_update_ppr(apic);
val = apic_get_reg(apic, offset);
break;
case APIC_TASKPRI:
report_tpr_access(apic, false);
/* fall thru */
default:
apic_update_ppr(apic);
val = apic_get_reg(apic, offset);
break;
}
Expand Down

0 comments on commit 2c5ae83

Please sign in to comment.