summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorKevin Pedretti <kevin.pedretti@gmail.com>2007-10-21 08:55:50 +0200
committerAvi Kivity <avi@qumranet.com>2007-10-22 12:03:29 +0200
commit9da8f4e83a824dabf3fb7ad0890549257ae614a0 (patch)
treec99a6c3ae8f07c9ae9fc49b5567a665359d7da24 /kernel/sched.c
parentb33ac88b4c23330043acad930517282eb486db1d (diff)
downloadop-kernel-dev-9da8f4e83a824dabf3fb7ad0890549257ae614a0.zip
op-kernel-dev-9da8f4e83a824dabf3fb7ad0890549257ae614a0.tar.gz
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
OpenPOWER on IntegriCloud