KVM: PIT: fix i8254 pending count read
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Mar 2009 20:51:35 +0000 (17:51 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:57:11 +0000 (10:57 -0700)
commitfcae516675463fce5123d5dc0c861ad9dd283ffe
treefee361a89d064d5bd600d1167e62b8d44013b054
parent2aa2267cc3836db2680d99e1c5da08af6a7243bd
KVM: PIT: fix i8254 pending count read

(cherry picked from d2a8284e8fca9e2a938bee6cd074064d23864886)

count_load_time assignment is bogus: its supposed to contain what it
means, not the expiration time.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/i8254.c