[PATCH] [7/30] x86_64: Avoid overflows during apic timer calibration

2007-04-30 Thread Andi Kleen
From: David P. Reed <[EMAIL PROTECTED]> - 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: [EMAIL PROTECTED]

[PATCH] [7/30] x86_64: Avoid overflows during apic timer calibration

2007-04-30 Thread Andi Kleen
From: David P. Reed [EMAIL PROTECTED] - 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: [EMAIL PROTECTED]