KVM: fix LAPIC timer period overflow
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 25 Sep 2009 09:09:37 +0000 (11:09 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Oct 2009 11:57:23 +0000 (13:57 +0200)
commitb2d83cfa3fdefe5c6573d443d099a18dc3a93c5f
tree4833580d843369a6a16a317a93114c512bc6504d
parent8feda6f786fc44f5f8b5cf88e3b6c03514f5be93
KVM: fix LAPIC timer period overflow

Don't overflow when computing the 64-bit period from 32-bit registers.

Fixes sourceforge bug #2826486.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/lapic.c