diff options
author | Kevin Pedretti <kevin.pedretti@gmail.com> | 2007-10-21 08:55:50 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-22 12:03:29 +0200 |
commit | 9da8f4e83a824dabf3fb7ad0890549257ae614a0 (patch) | |
tree | c99a6c3ae8f07c9ae9fc49b5567a665359d7da24 /kernel/sched.c | |
parent | b33ac88b4c23330043acad930517282eb486db1d (diff) |
KVM: Improve local apic timer wraparound handling
Better handle wrap-around cases when reading the APIC CCR
(current count register). Also, if ICR is 0, CCR should also
be 0... previously reading CCR before setting ICR would result
in a large kinda-random number.
Signed-off-by: Kevin Pedretti <kevin.pedretti@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions