From: David P. Reed Date: Wed, 2 May 2007 17:27:20 +0000 (+0200) Subject: [PATCH] x86-64: Avoid overflows during apic timer calibration X-Git-Tag: v2.6.22-rc1~1011^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4637a74cf2ac3a3696d385c8624d84de789d1bbe;p=pandora-kernel.git [PATCH] x86-64: Avoid overflows during apic timer calibration - Use 64bit TSC calculations to avoid handling overflow - Use 32bit unsigned arithmetic for the APIC timer. This way overflows are handled correctly. - Fix exit check of loop to account for apic timer counting down Signed-off-by: dpreed@reed.com Signed-off-by: Andi Kleen --- Reading git-diff-tree failed