KVM: fix LAPIC timer period overflow
commitddf2acb72f3df470ce15eb23ee97cd3be23016f8
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 25 Sep 2009 09:09:37 +0000 (25 11:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Oct 2009 19:40:18 +0000 (12 12:40 -0700)
tree8ac946ef474d0b5bd6f4b02704fc8e45ad7cbc59
parentca9405b882ae10710c158d989f0c740242af2e28
KVM: fix LAPIC timer period overflow

commit b2d83cfa3fdefe5c6573d443d099a18dc3a93c5f upstream.

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>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/lapic.c